1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* info-look.el: Add setup for apropos-mode to use emacs-lisp-mode

manuals, similar to existing setup for help-mode.  (My bug#3913.)
This commit is contained in:
Kevin Ryde 2009-12-06 00:42:19 +00:00
parent 990a9cb177
commit 8b5a10dbc6
2 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,9 @@
* ffap.el (ffap-rfc-path): Make this a defcustom since
`ffap-rfc-directories' is also a defcustom. (My Bug#4514.)
* info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
manuals, similar to existing setup for help-mode. (My bug#3913.)
2009-12-05 Juri Linkov <juri@jurta.org>
Save and restore dired buffer's point positions too. (Bug#4880)

View file

@ -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]+"