aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2018-07-04 09:04:55 +0200
committerMichael Albinus2018-07-04 09:04:55 +0200
commit3bbd4ffc68bcc2b3e003a2179a508b82055ad770 (patch)
tree9579e99c982f6aae53666537b6aa475922c811d9
parent0bb7dfc39cdb943eeefa6c7e5575eb997fb934ba (diff)
downloademacs-3bbd4ffc68bcc2b3e003a2179a508b82055ad770.tar.gz
emacs-3bbd4ffc68bcc2b3e003a2179a508b82055ad770.zip
* lisp/shell.el (shell-completion-vars):
Set `comint-file-name-prefix' to "" for local default directory.
-rw-r--r--lisp/shell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index c78903b3e5a..fa6eee0f187 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -469,7 +469,7 @@ Shell buffers. It implements `shell-completion-execonly' for
469 (set (make-local-variable 'comint-file-name-quote-list) 469 (set (make-local-variable 'comint-file-name-quote-list)
470 shell-file-name-quote-list) 470 shell-file-name-quote-list)
471 (set (make-local-variable 'comint-file-name-prefix) 471 (set (make-local-variable 'comint-file-name-prefix)
472 (file-remote-p default-directory)) 472 (or (file-remote-p default-directory) ""))
473 (set (make-local-variable 'comint-dynamic-complete-functions) 473 (set (make-local-variable 'comint-dynamic-complete-functions)
474 shell-dynamic-complete-functions) 474 shell-dynamic-complete-functions)
475 (setq-local comint-unquote-function #'shell--unquote-argument) 475 (setq-local comint-unquote-function #'shell--unquote-argument)