Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3f9e315a
Commit
3f9e315a
authored
Oct 02, 1994
by
Richard M. Stallman
Browse files
(shell-mode): Compare the truename with /dev/null.
parent
fb145562
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/shell.el
lisp/shell.el
+1
-1
No files found.
lisp/shell.el
View file @
3f9e315a
...
...
@@ -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"
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment