diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-10-02 20:11:07 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-10-02 20:11:07 +0000 |
commit | 3f9e315acf720bc0e70f34a75d22f18831ef34df (patch) | |
tree | 2604713bd960b0f13c66c70fcfbb952dbbc9efe3 /lisp/shell.el | |
parent | fb145562db02c6a9a20c3c25e34d61dcafe4f9e3 (diff) | |
download | emacs-3f9e315acf720bc0e70f34a75d22f18831ef34df.tar.gz |
(shell-mode): Compare the truename with /dev/null.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r-- | lisp/shell.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 98c3b48fc69..6571c0d4d58 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -347,7 +347,7 @@ buffer." (cond ((string-equal shell "bash") "~/.bash_history") ((string-equal shell "ksh") "~/.sh_history") (t "~/.history")))) - (if (equal comint-input-ring-file-name "/dev/null") + (if (equal (file-truename comint-input-ring-file-name) "/dev/null") (setq comint-input-ring-file-name nil)) (setq shell-dirstack-query (if (string-match "^k?sh$" shell) "pwd" "dirs"))) |