# HG changeset patch # User Kevin Ryde # Date 1260060078 0 # Node ID 229e77015023745add86fb3d849d6e65dc0e2a20 # Parent 093d4e217f6ad0867ffdbf59317a998ce10f243b * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode manuals, similar to existing setup for help-mode. (My bug#3913.) diff -r 093d4e217f6a -r 229e77015023 lisp/info-look.el --- 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]+"