Mercurial > emacs
changeset 8111:04ba433263d8
(shell-mode): Don't read history from /dev/null.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 01 Jul 1994 20:45:59 +0000 |
parents | bf6ecdddf78b |
children | 63ed4f3eb8d1 |
files | lisp/shell.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/shell.el Fri Jul 01 20:11:01 1994 +0000 +++ b/lisp/shell.el Fri Jul 01 20:45:59 1994 +0000 @@ -346,6 +346,8 @@ (cond ((string-equal shell "bash") "~/.bash_history") ((string-equal shell "ksh") "~/.sh_history") (t "~/.history")))) + (if (equal 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"))) (run-hooks 'shell-mode-hook)