diff options
author | Chong Yidong <[email protected]> | 2012-01-03 14:31:08 +0800 |
---|---|---|
committer | Chong Yidong <[email protected]> | 2012-01-03 14:31:08 +0800 |
commit | 787cdb34ea494f0a800cd6c3f8af2fbfd69b7c29 (patch) | |
tree | cf8205ce6213fa0488460b6e41e330c8337ebdc6 /lisp | |
parent | b81d40f0fe43db0c6a4d71e1aaea6b2c65b27395 (diff) |
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).
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/shell.el | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 055d929fc5..8679b2c4f5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2012-01-03 Chong Yidong <[email protected]> + + * 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 <[email protected]> * battery.el (battery-status-function): diff --git a/lisp/shell.el b/lisp/shell.el index 7da1add8e9..4e570c6326 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -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. |