Proper fix for shell-completion-execonly.
authorChong Yidong <cyd@gnu.org>
Thu, 5 Jan 2012 14:51:05 +0000 (22:51 +0800)
committerChong Yidong <cyd@gnu.org>
Thu, 5 Jan 2012 14:51:05 +0000 (22:51 +0800)
commit7baca3bcbe2be3cbf2108eda589cf5c6147e2566
tree33f2537e5ffdb2b88d0084b524abfc2781fa960f
parentcf3304e1c58f818b7c5636c08742aa19ecaf869a
Proper fix for shell-completion-execonly.

* shell.el (shell-dynamic-complete-functions): Revert last change.
(shell-command-completion-function): New function.
(shell-completion-vars): Use it to implement
shell-completion-execonly.

Fixes: debbugs:10417
lisp/ChangeLog
lisp/shell.el