Commit 9505c3c7 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/man.el (Man-completion-table): Fix the lambda case.

Fixes: debbugs:10168
parent 3360a3fc
2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
* man.el (Man-completion-table): Fix the lambda case (bug#10168).
2011-12-01 Michael McNamara <mac@mail.brushroad.com>
* progmodes/verilog-mode.el (verilog-pretty-expr):
......
......@@ -754,8 +754,10 @@ POS defaults to `point'."
(defun Man-completion-table (string pred action)
(cond
((eq action 'lambda)
(not (string-match "([^)]*\\'" string)))
;; This ends up returning t for pretty much any string, and hence leads to
;; spurious "complete but not unique" messages. And since `man' doesn't
;; require-match anyway, there's not point being clever.
;;((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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment