Mercurial > emacs
changeset 106450:229e77015023
* info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
manuals, similar to existing setup for help-mode. (My bug#3913.)
author | Kevin Ryde <user42@zip.com.au> |
---|---|
date | Sun, 06 Dec 2009 00:41:18 +0000 |
parents | 093d4e217f6a |
children | ac7e866f2b51 |
files | lisp/info-look.el |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info-look.el Sun Dec 06 00:22:51 2009 +0000 +++ b/lisp/info-look.el Sun Dec 06 00:41:18 2009 +0000 @@ -861,6 +861,12 @@ ;; sort of fallback match scheme existed. ("(elisp)Index" nil "^ -+ .*: " "\\( \\|$\\)"))) +;; docstrings talk about elisp, so have apropos-mode follow emacs-lisp-mode +(info-lookup-maybe-add-help + :mode 'apropos-mode + :regexp "[^][()`',\" \t\n]+" ;; same as emacs-lisp-mode above + :other-modes '(emacs-lisp-mode)) + (info-lookup-maybe-add-help :mode 'lisp-interaction-mode :regexp "[^][()`',\" \t\n]+"