summaryrefslogtreecommitdiff
path: root/lisp/info-look.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2002-07-18 18:19:18 +0000
committerDave Love <fx@gnu.org>2002-07-18 18:19:18 +0000
commit28a2ca5d82c1e04bc698fd28346aa3280c6d93ee (patch)
treebdee8231e538a6a33242db405243c76e1cb4bd9f /lisp/info-look.el
parent5fe205f13437d4358a7c13a144ae07d2bec8a2bb (diff)
downloademacs-28a2ca5d82c1e04bc698fd28346aa3280c6d93ee.tar.gz
Support current auto{conf,make} manuals.
Diffstat (limited to 'lisp/info-look.el')
-rw-r--r--lisp/info-look.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/info-look.el b/lisp/info-look.el
index ec5e779d36a..920a9afc977 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -56,8 +56,7 @@ Setting this variable to nil disables highlighting."
"Overlay object used for highlighting.")
(defcustom info-lookup-file-name-alist
- '(("\\`configure\\.in\\'" . autoconf-mode) ;already covered by auto-mode-alist
- ("\\`ac\\(local\\|site\\|include\\)\\.m4\\'" . autoconf-mode))
+ '(("\\`ac\\(local\\|site\\|include\\)\\.m4\\'" . autoconf-mode))
"Alist of file names handled specially.
List elements are cons cells of the form
@@ -672,7 +671,12 @@ Return nil if there is nothing appropriate in the buffer near point."
(info-lookup-maybe-add-help
:mode 'autoconf-mode
:regexp "A[CM]_[_A-Z0-9]+"
- :doc-spec '(("(autoconf)Macro Index" "AC_"
+ :doc-spec '(("(autoconf)Autoconf Macro Index" "AC_"
+ "^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>")
+ ("(automake)Macro and Variable Index" nil
+ "^[ \t]*`" "'")
+ ;; These are for older versions (probably pre autoconf 2.5x):
+ ("(autoconf)Macro Index" "AC_"
"^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>")
("(automake)Macro and Variable Index" nil
"^[ \t]*`" "'"))