diff options
author | Kevin Ryde <user42@zip.com.au> | 2009-12-06 00:42:19 +0000 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2009-12-06 00:42:19 +0000 |
commit | 8b5a10dbc6665d88aac6bd753415b26c515e70b1 (patch) | |
tree | 1879cf7d7a6b68174db6fe5f9359ac50c3b997e5 /lisp/info-look.el | |
parent | 990a9cb177f89c39fda8bb7e32f353bfe4bca59d (diff) | |
download | emacs-8b5a10dbc6665d88aac6bd753415b26c515e70b1.tar.gz |
* info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
manuals, similar to existing setup for help-mode. (My bug#3913.)
Diffstat (limited to 'lisp/info-look.el')
-rw-r--r-- | lisp/info-look.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/info-look.el b/lisp/info-look.el index a061611aa9b..7c9c124eb39 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -861,6 +861,12 @@ Return nil if there is nothing appropriate in the buffer near point." ;; 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]+" |