[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106569: * lisp/man.el (Man-completio
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106569: * lisp/man.el (Man-completion-table): Fix the lambda case. |
Date: |
Thu, 01 Dec 2011 14:38:24 -0500 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106569
fixes bug(s): http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10168
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Thu 2011-12-01 14:38:24 -0500
message:
* lisp/man.el (Man-completion-table): Fix the lambda case.
modified:
lisp/ChangeLog
lisp/man.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-12-01 04:37:04 +0000
+++ b/lisp/ChangeLog 2011-12-01 19:38:24 +0000
@@ -1,3 +1,7 @@
+2011-12-01 Stefan Monnier <address@hidden>
+
+ * man.el (Man-completion-table): Fix the lambda case (bug#10168).
+
2011-12-01 Michael McNamara <address@hidden>
* progmodes/verilog-mode.el (verilog-pretty-expr):
=== modified file 'lisp/man.el'
--- a/lisp/man.el 2011-11-27 04:43:11 +0000
+++ b/lisp/man.el 2011-12-01 19:38:24 +0000
@@ -754,8 +754,10 @@
(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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106569: * lisp/man.el (Man-completion-table): Fix the lambda case.,
Stefan Monnier <=