Fix shell completion regression.

* lisp/shell.el (shell-dynamic-complete-functions): Put
pcomplete-completions-at-point, so as to try
comint-filename-completion first (Bug#10417).
This commit is contained in:
Chong Yidong 2012-01-03 14:31:08 +08:00
parent b81d40f0fe
commit 787cdb34ea
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2012-01-03 Chong Yidong <cyd@gnu.org>
* shell.el (shell-dynamic-complete-functions): Put
pcomplete-completions-at-point, so as to try
comint-filename-completion first (Bug#10417).
2012-01-02 Richard Stallman <rms@gnu.org>
* battery.el (battery-status-function):

View file

@ -187,10 +187,11 @@ This is a fine thing to set in your `.emacs' file.")
shell-environment-variable-completion
shell-command-completion
shell-c-a-p-replace-by-expanded-directory
pcomplete-completions-at-point
shell-filename-completion
;; Not sure when this one would still be useful. --Stef
comint-filename-completion)
comint-filename-completion
;; This goes last, so that `comint-filename-completion' can handle
;; `shell-completion-execonly' (Bug#10417).
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.