emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 05c4329 1/2: Revert "Fix filename completion in shell mode buff


From: Eli Zaretskii
Subject: emacs-27 05c4329 1/2: Revert "Fix filename completion in shell mode buffers"
Date: Mon, 20 Jul 2020 10:32:44 -0400 (EDT)

branch: emacs-27
commit 05c4329cf59f8bde98e33952c1f26551de83e400
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Revert "Fix filename completion in shell mode buffers"
    
    This reverts commit e4d17d8cb479ffeeb7dfb7320a1432722ac8df75.
    Per bug#42383 discussions, the fix for bug#34330 probably
    just works around the real issue, which is in pcomplete.el.
---
 lisp/shell.el | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lisp/shell.el b/lisp/shell.el
index ecebf93..dc1198b 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -184,16 +184,13 @@ 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
-    ;; Put `pcomplete-completions-at-point' last so that other
-    ;; functions can run before it does, see bug#34330.
-    pcomplete-completions-at-point)
+    comint-filename-completion)
   "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]+"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]