branch: elpa/bash-completion
commit 8a246f40daadbcb0c4ddb3192705475f94340dc4
Author: Stephane Zermatten <[email protected]>
Commit: Stephane Zermatten <[email protected]>
bash-completion-generate-line: add missing compgen option to
complete command (duh!).
---
elisp/bash-completion.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/elisp/bash-completion.el b/elisp/bash-completion.el
index e911fdc838..4478fbf5c5 100644
--- a/elisp/bash-completion.el
+++ b/elisp/bash-completion.el
@@ -113,6 +113,11 @@
;;; History:
;;
+;; 2009-08-01 Stephane Zermatten <[email protected]>
+;;
+;; * bash-completion-generate-line: add missing compgen
+;; option to complete commands (duh!).
+;;
;; Current version:
;; $Id$
;;
@@ -917,7 +922,7 @@ candidates."
((= cword 0)
;; a command. let emacs expand executable, let bash
;; expand builtins, aliases and functions
- (concat "compgen -S ' ' -b -a -A function " stub))
+ (concat "compgen -S ' ' -b -c -a -A function " stub))
((not compgen-args)
;; no completion configured for this command