diff options
Diffstat (limited to 'lisp/shell.el')
| -rw-r--r-- | lisp/shell.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 7ea9d1c2ead..b554ee5add9 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -595,6 +595,8 @@ Shell buffers. It implements `shell-completion-execonly' for | |||
| 595 | ;; Don't use pcomplete's defaulting mechanism, rely on | 595 | ;; Don't use pcomplete's defaulting mechanism, rely on |
| 596 | ;; shell-dynamic-complete-functions instead. | 596 | ;; shell-dynamic-complete-functions instead. |
| 597 | (setq-local pcomplete-default-completion-function #'ignore) | 597 | (setq-local pcomplete-default-completion-function #'ignore) |
| 598 | ;; Do not expand remote file names. | ||
| 599 | (setq-local pcomplete-remote-file-ignore t) | ||
| 598 | (setq-local comint-input-autoexpand shell-input-autoexpand) | 600 | (setq-local comint-input-autoexpand shell-input-autoexpand) |
| 599 | ;; Not needed in shell-mode because it's inherited from comint-mode, but | 601 | ;; Not needed in shell-mode because it's inherited from comint-mode, but |
| 600 | ;; placed here for read-shell-command. | 602 | ;; placed here for read-shell-command. |