[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e4d17d8: Fix filename completion in shell mode buff
From: |
Alex Branham |
Subject: |
[Emacs-diffs] master e4d17d8: Fix filename completion in shell mode buffers |
Date: |
Tue, 27 Aug 2019 10:51:41 -0400 (EDT) |
branch: master
commit e4d17d8cb479ffeeb7dfb7320a1432722ac8df75
Author: Alex Branham <address@hidden>
Commit: Alex Branham <address@hidden>
Fix filename completion in shell mode buffers
* lisp/shell.el (shell-dynamic-complete-functions): Move
pcomplete-completions-at-point down the list so that filename
completion has a chance to complete before pcompletion.
Fixes bug#34330
---
lisp/shell.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lisp/shell.el b/lisp/shell.el
index ba7515e..fb2c36f 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -184,13 +184,16 @@ shell buffer. The value may depend on the operating
system or shell."
shell-environment-variable-completion
shell-command-completion
shell-c-a-p-replace-by-expanded-directory
- pcomplete-completions-at-point
shell-filename-completion
- comint-filename-completion)
+ comint-filename-completion
+ ;; Put `pcomplete-completions-at-point' last so that other
+ ;; functions can run before it does, see bug#34330.
+ pcomplete-completions-at-point)
"List of functions called to perform completion.
This variable is used to initialize `comint-dynamic-complete-functions' in the
shell buffer."
:type '(repeat function)
+ :version "27.1"
:group 'shell)
(defcustom shell-command-regexp "[^;&|\n]+"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e4d17d8: Fix filename completion in shell mode buffers,
Alex Branham <=