[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp info-look.el
From: |
Kevin Ryde |
Subject: |
[Emacs-diffs] emacs/lisp info-look.el |
Date: |
Sun, 06 Dec 2009 00:41:18 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Kevin Ryde <kryde> 09/12/06 00:41:18
Modified files:
lisp : info-look.el
Log message:
* info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
manuals, similar to existing setup for help-mode. (My bug#3913.)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/info-look.el?cvsroot=emacs&r1=1.67&r2=1.68
Patches:
Index: info-look.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/info-look.el,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- info-look.el 5 Jan 2009 03:19:24 -0000 1.67
+++ info-look.el 6 Dec 2009 00:41:18 -0000 1.68
@@ -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]+"
- [Emacs-diffs] emacs/lisp info-look.el,
Kevin Ryde <=