diff options
| author | Juri Linkov | 2009-11-25 21:16:58 +0000 |
|---|---|---|
| committer | Juri Linkov | 2009-11-25 21:16:58 +0000 |
| commit | 1e2d9ba1ea7906796966e365d1925b62c47276b7 (patch) | |
| tree | bf395e2d2fdebf8db6e1b33146f5c25f8463db2d | |
| parent | a1fadc6fdff31d8ceb9036333a12f494d10d7a53 (diff) | |
| download | emacs-1e2d9ba1ea7906796966e365d1925b62c47276b7.tar.gz emacs-1e2d9ba1ea7906796966e365d1925b62c47276b7.zip | |
(Man-completion-table): Modify regexp to include section names
to completion strings. (Bug#3717)
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/man.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4b3fb327208..fd586757b34 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2009-11-25 Juri Linkov <juri@jurta.org> | 1 | 2009-11-25 Juri Linkov <juri@jurta.org> |
| 2 | 2 | ||
| 3 | * man.el (Man-completion-table): Modify regexp to include | ||
| 4 | section names to completion strings. (Bug#3717) | ||
| 5 | |||
| 6 | 2009-11-25 Juri Linkov <juri@jurta.org> | ||
| 7 | |||
| 3 | Search recursively in gzipped files. (Bug#4982) | 8 | Search recursively in gzipped files. (Bug#4982) |
| 4 | 9 | ||
| 5 | * progmodes/grep.el (grep-highlight-matches): Add new options | 10 | * progmodes/grep.el (grep-highlight-matches): Add new options |
diff --git a/lisp/man.el b/lisp/man.el index 364a5d248fc..25ba3eb0638 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -770,7 +770,7 @@ POS defaults to `point'." | |||
| 770 | (call-process manual-program nil '(t nil) nil | 770 | (call-process manual-program nil '(t nil) nil |
| 771 | "-k" (concat "^" string)) | 771 | "-k" (concat "^" string)) |
| 772 | (goto-char (point-min)) | 772 | (goto-char (point-min)) |
| 773 | (while (re-search-forward "^[^ \t\n]+" nil t) | 773 | (while (re-search-forward "^[^ \t\n]+\\(?: (.+?)\\)?" nil t) |
| 774 | (push (match-string 0) table))) | 774 | (push (match-string 0) table))) |
| 775 | ;; Cache the table for later reuse. | 775 | ;; Cache the table for later reuse. |
| 776 | (setq Man-completion-cache (cons string table))) | 776 | (setq Man-completion-cache (cons string table))) |