]> code.delx.au - gnu-emacs/commitdiff
Improve "C-h S" for cl-lib symbols
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Apr 2016 11:20:34 +0000 (14:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Apr 2016 11:20:34 +0000 (14:20 +0300)
* lisp/info-look.el: Add cl.info lookup to emacs-lisp-mode related
manuals.  (Bug#23289)

lisp/info-look.el

index 70d2756dfc75e509861a32274d93dd9897ecde57..899f41e850df6a994f7464408161f4f89af952c5 100644 (file)
@@ -912,7 +912,9 @@ Return nil if there is nothing appropriate in the buffer near point."
              ;; 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 "^ -+ .*: " "\\( \\|$\\)")))
+             ("(elisp)Index"          nil "^ -+ .*: " "\\( \\|$\\)")
+             ("(cl)Function Index"    nil "^ -+ .*: " "\\( \\|$\\)")
+             ("(cl)Variable Index"    nil "^ -+ .*: " "\\( \\|$\\)")))
 
 ;; docstrings talk about elisp, so have apropos-mode follow emacs-lisp-mode
 (info-lookup-maybe-add-help