changeset 41076:1be1f069f19f

(makefile-mode): Add info for automake. (autoconf-mode): Fix the name of the index for automake.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 15 Nov 2001 12:25:20 +0000
parents 9bd3aeb8f5ae
children 62ff980e8b98
files lisp/info-look.el
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info-look.el	Thu Nov 15 12:19:08 2001 +0000
+++ b/lisp/info-look.el	Thu Nov 15 12:25:20 2001 +0000
@@ -1,9 +1,10 @@
 ;;; info-look.el --- major-mode-sensitive Info index lookup facility
 ;; An older version of this was known as libc.el.
 
-;; Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+;; Copyright (C) 1995,96,97,98,99,2001  Free Software Foundation, Inc.
 
 ;; Author: Ralph Schleicher <rs@nunatak.allgaeu.org>
+;;         (did not show signs of life (Nov 2001)  -stef)
 ;; Keywords: help languages
 
 ;; This file is part of GNU Emacs.
@@ -646,8 +647,11 @@
  :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
@@ -670,7 +674,7 @@
  :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