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 | 9ee55f41fd320549bb5635d1f13037f3406a7664 (patch) | |
tree | ee3aa9bc0e0bc435864056a1f036ee389bc0d070 /lisp/shell.el | |
parent | 773d6f5b2ab8b472f8b2190621251302ecaddf66 (diff) | |
download | emacs-9ee55f41fd320549bb5635d1f13037f3406a7664.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"))) |