* lisp/shell.el (shell-completion-vars):
Set `comint-file-name-prefix' to "" for local default directory.
This commit is contained in:
parent
0bb7dfc39c
commit
3bbd4ffc68
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue