diff options
| author | Stefan Monnier | 2010-05-31 12:16:02 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-05-31 12:16:02 -0400 |
| commit | 896114cf6401b58e1aaa66736d726779d087f166 (patch) | |
| tree | 905290ffe66cfe82d4ddec84503229c0d71ec4b3 | |
| parent | 949544ed2686f00430b4ffe75d7b64832dbaa4f9 (diff) | |
| download | emacs-896114cf6401b58e1aaa66736d726779d087f166.tar.gz emacs-896114cf6401b58e1aaa66736d726779d087f166.zip | |
* lisp/man.el (Man-completion-table): Let the user type "-k ".
Fixes: debbugs:6319
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/man.el | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a8e7f062000..9b27b3e342c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * man.el (Man-completion-table): Let the user type "-k " (bug#6319). | ||
| 4 | |||
| 1 | 2010-05-31 Drew Adams <drew.adams@oracle.com> | 5 | 2010-05-31 Drew Adams <drew.adams@oracle.com> |
| 2 | 6 | ||
| 3 | * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298). | 7 | * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298). |
| @@ -12,14 +16,13 @@ | |||
| 12 | * ansi-color.el: Delete unused escape sequences (Bug#6085). | 16 | * ansi-color.el: Delete unused escape sequences (Bug#6085). |
| 13 | (ansi-color-drop-regexp): New constant. | 17 | (ansi-color-drop-regexp): New constant. |
| 14 | (ansi-color-apply, ansi-color-filter-region) | 18 | (ansi-color-apply, ansi-color-filter-region) |
| 15 | (ansi-color-apply-on-region): Delete unrecognized control | 19 | (ansi-color-apply-on-region): Delete unrecognized control sequences. |
| 16 | sequences. | ||
| 17 | (ansi-color-apply): Build string list before calling concat. | 20 | (ansi-color-apply): Build string list before calling concat. |
| 18 | 21 | ||
| 19 | 2010-05-27 Chong Yidong <cyd@stupidchicken.com> | 22 | 2010-05-27 Chong Yidong <cyd@stupidchicken.com> |
| 20 | 23 | ||
| 21 | * progmodes/verilog-mode.el (verilog-type-font-keywords): Use | 24 | * progmodes/verilog-mode.el (verilog-type-font-keywords): |
| 22 | font-lock-constant-face, not obsolete font-lock-reference-face. | 25 | Use font-lock-constant-face, not obsolete font-lock-reference-face. |
| 23 | 26 | ||
| 24 | 2010-05-27 Masatake YAMATO <yamato@redhat.com> | 27 | 2010-05-27 Masatake YAMATO <yamato@redhat.com> |
| 25 | 28 | ||
diff --git a/lisp/man.el b/lisp/man.el index 8eb5f73e245..658c1ebbcef 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -754,6 +754,9 @@ POS defaults to `point'." | |||
| 754 | (cond | 754 | (cond |
| 755 | ((eq action 'lambda) | 755 | ((eq action 'lambda) |
| 756 | (not (string-match "([^)]*\\'" string))) | 756 | (not (string-match "([^)]*\\'" string))) |
| 757 | ((equal string "-k") | ||
| 758 | ;; Let SPC (minibuffer-complete-word) insert the space. | ||
| 759 | (complete-with-action action '("-k ") string pred)) | ||
| 757 | (t | 760 | (t |
| 758 | (let ((table (cdr Man-completion-cache)) | 761 | (let ((table (cdr Man-completion-cache)) |
| 759 | (section nil) | 762 | (section nil) |