emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/info-look.el


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/info-look.el
Date: Sat, 05 Apr 2003 07:58:02 -0500

Index: emacs/lisp/info-look.el
diff -c emacs/lisp/info-look.el:1.31 emacs/lisp/info-look.el:1.32
*** emacs/lisp/info-look.el:1.31        Wed Apr  2 16:12:04 2003
--- emacs/lisp/info-look.el     Sat Apr  5 07:58:02 2003
***************
*** 756,764 ****
  (info-lookup-maybe-add-help
   :mode 'emacs-lisp-mode
   :regexp "[^][()'\" \t\n]+"
!  :doc-spec '(("(emacs)Command Index")
!            ("(emacs)Variable Index")
!            ("(elisp)Index")))
  
  (info-lookup-maybe-add-help
   :mode 'lisp-interaction-mode
--- 756,774 ----
  (info-lookup-maybe-add-help
   :mode 'emacs-lisp-mode
   :regexp "[^][()'\" \t\n]+"
!  :doc-spec '(;; Commands with key sequences appear in nodes as `foo' and
!              ;; those without as `M-x foo'.
!              ("(emacs)Command Index"  nil "`\\(M-x[ \t\n]+\\)?" "'")
!              ;; Variables normally appear in nodes as just `foo'.
!              ("(emacs)Variable Index" nil "`" "'")
!              ;; Almost all functions, variables, etc appear in nodes as
!              ;; " - Function: foo" etc.  A small number of aliases and
!              ;; symbols appear only as `foo', and will miss out on exact
!              ;; positions.  Allowing `foo' would hit too many false matches
!              ;; for things that should go to Function: etc, and those latter
!              ;; are much more important.  Perhaps this could change if some
!              ;; sort of fallback match scheme existed.
!              ("(elisp)Index"          nil "^ - .*: " "\\( \\|$\\)")))
  
  (info-lookup-maybe-add-help
   :mode 'lisp-interaction-mode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]