diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/eshell/em-dirs.el | 2 | ||||
-rw-r--r-- | lisp/eshell/em-hist.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el index c16a5ac6e07..853382888c9 100644 --- a/lisp/eshell/em-dirs.el +++ b/lisp/eshell/em-dirs.el @@ -553,7 +553,7 @@ in the minibuffer: (defun eshell-write-last-dir-ring () "Write the buffer's `eshell-last-dir-ring' to a history file." (let* ((file eshell-last-dir-ring-file-name) - (resolved-file (file-truename file))) + (resolved-file (if (stringp file) (file-truename file)))) (cond ((or (null file) (equal file "") diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el index f866dfd7276..1b240c0460f 100644 --- a/lisp/eshell/em-hist.el +++ b/lisp/eshell/em-hist.el @@ -467,7 +467,7 @@ Useful within process sentinels. See also `eshell-read-history'." (let* ((file (or filename eshell-history-file-name)) - (resolved-file (file-truename file))) + (resolved-file (if (stringp file) (file-truename file)))) (cond ((or (null file) (equal file "") |