projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bb7dfc
)
* lisp/shell.el (shell-completion-vars):
author
Michael Albinus
<michael.albinus@gmx.de>
Wed, 4 Jul 2018 07:04:55 +0000
(09:04 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Wed, 4 Jul 2018 07:04:55 +0000
(09:04 +0200)
Set `comint-file-name-prefix' to "" for local default directory.
lisp/shell.el
patch
|
blob
|
history
diff --git
a/lisp/shell.el
b/lisp/shell.el
index c78903b3e5a9d8369adb7f3eecc640355a2a40cb..fa6eee0f187671cc97ba6dd3a48e625d244f918b 100644
(file)
--- a/
lisp/shell.el
+++ b/
lisp/shell.el
@@
-469,7
+469,7
@@
Shell buffers. It implements `shell-completion-execonly' for
(set (make-local-variable 'comint-file-name-quote-list)
shell-file-name-quote-list)
(set (make-local-variable 'comint-file-name-prefix)
- (
file-remote-p default-directory
))
+ (
or (file-remote-p default-directory) ""
))
(set (make-local-variable 'comint-dynamic-complete-functions)
shell-dynamic-complete-functions)
(setq-local comint-unquote-function #'shell--unquote-argument)