summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-05-31 22:34:49 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-05-31 22:34:49 -0400
commitfd67a7000ee9e118b426df6ad779f3c86d4fe320 (patch)
tree9f39d84fb5eeee28ec6670794980c075ebe51b32 /lisp/man.el
parent06ac62b4db7cf64c9d65ac55bdfcefdf478e20b5 (diff)
parentfeceda26100f1b5712a85aadf0c428a1507b538d (diff)
downloademacs-fd67a7000ee9e118b426df6ad779f3c86d4fe320.tar.gz
Merge from emacs-23
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/man.el b/lisp/man.el
index df5f4807cec..f448795c1cb 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -759,6 +759,9 @@ POS defaults to `point'."
(cond
((eq action 'lambda)
(not (string-match "([^)]*\\'" string)))
+ ((equal string "-k")
+ ;; Let SPC (minibuffer-complete-word) insert the space.
+ (complete-with-action action '("-k ") string pred))
(t
(let ((table (cdr Man-completion-cache))
(section nil)