From 65f7484509f791c224eab63e787c3c57b1ea4de9 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 14 Feb 2001 23:57:13 +0000 Subject: [PATCH] Add automake bits to makefile-mode spec. --- lisp/info-look.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/info-look.el b/lisp/info-look.el index e39adb36317..65636ef065a 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -650,8 +650,11 @@ Return nil if there is nothing appropriate in the buffer near point." :mode 'makefile-mode :regexp "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z][_a-zA-Z0-9-]*" :doc-spec '(("(make)Name Index" nil + "^[ \t]*`" "'") + ("(automake)Macro and Variable Index" nil "^[ \t]*`" "'")) - :parse-rule "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z0-9-]+") + :parse-rule "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z0-9-]+" + :other-modes '(automake-mode)) (info-lookup-maybe-add-help :mode 'texinfo-mode @@ -674,7 +677,7 @@ Return nil if there is nothing appropriate in the buffer near point." :regexp "A[CM]_[_A-Z0-9]+" :doc-spec '(("(autoconf)Macro Index" "AC_" "^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>") - ("(automake)Index" nil + ("(automake)Macro and Variable Index" nil "^[ \t]*`" "'")) ;; Autoconf symbols are M4 macros. Thus use M4's parser. :parse-rule 'ignore -- 2.39.5