From 28a2ca5d82c1e04bc698fd28346aa3280c6d93ee Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 18 Jul 2002 18:19:18 +0000 Subject: Support current auto{conf,make} manuals. --- lisp/info-look.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lisp/info-look.el') 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]*`" "'")) -- cgit v1.2.1