[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 3bbd4ff: * lisp/shell.el (shell-completion-vars):
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master 3bbd4ff: * lisp/shell.el (shell-completion-vars): |
Date: |
Wed, 4 Jul 2018 03:05:04 -0400 (EDT) |
branch: master
commit 3bbd4ffc68bcc2b3e003a2179a508b82055ad770
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
* lisp/shell.el (shell-completion-vars):
Set `comint-file-name-prefix' to "" for local default directory.
---
lisp/shell.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/shell.el b/lisp/shell.el
index c78903b..fa6eee0 100644
--- 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 3bbd4ff: * lisp/shell.el (shell-completion-vars):,
Michael Albinus <=