aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/shell.el2
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."
347 (cond ((string-equal shell "bash") "~/.bash_history") 347 (cond ((string-equal shell "bash") "~/.bash_history")
348 ((string-equal shell "ksh") "~/.sh_history") 348 ((string-equal shell "ksh") "~/.sh_history")
349 (t "~/.history")))) 349 (t "~/.history"))))
350 (if (equal comint-input-ring-file-name "/dev/null") 350 (if (equal (file-truename comint-input-ring-file-name) "/dev/null")
351 (setq comint-input-ring-file-name nil)) 351 (setq comint-input-ring-file-name nil))
352 (setq shell-dirstack-query 352 (setq shell-dirstack-query
353 (if (string-match "^k?sh$" shell) "pwd" "dirs"))) 353 (if (string-match "^k?sh$" shell) "pwd" "dirs")))