diff options
| author | Stefan Monnier | 2001-11-15 12:25:20 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-11-15 12:25:20 +0000 |
| commit | fdba4ab4433190f22e561895d1acbbda9afb497a (patch) | |
| tree | ac3689713bf6706c268a8452563bff1eb75ad571 | |
| parent | 1cd04440b5d86bdd2a83b71515b2d6d51e26db82 (diff) | |
| download | emacs-fdba4ab4433190f22e561895d1acbbda9afb497a.tar.gz emacs-fdba4ab4433190f22e561895d1acbbda9afb497a.zip | |
(makefile-mode): Add info for automake.
(autoconf-mode): Fix the name of the index for automake.
| -rw-r--r-- | lisp/info-look.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/info-look.el b/lisp/info-look.el index eccf7dcd6c4..e7aedf47f59 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | ;;; info-look.el --- major-mode-sensitive Info index lookup facility | 1 | ;;; info-look.el --- major-mode-sensitive Info index lookup facility |
| 2 | ;; An older version of this was known as libc.el. | 2 | ;; An older version of this was known as libc.el. |
| 3 | 3 | ||
| 4 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. | 4 | ;; Copyright (C) 1995,96,97,98,99,2001 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Ralph Schleicher <rs@nunatak.allgaeu.org> | 6 | ;; Author: Ralph Schleicher <rs@nunatak.allgaeu.org> |
| 7 | ;; (did not show signs of life (Nov 2001) -stef) | ||
| 7 | ;; Keywords: help languages | 8 | ;; Keywords: help languages |
| 8 | 9 | ||
| 9 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| @@ -646,8 +647,11 @@ Return nil if there is nothing appropriate in the buffer near point." | |||
| 646 | :mode 'makefile-mode | 647 | :mode 'makefile-mode |
| 647 | :regexp "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z][_a-zA-Z0-9-]*" | 648 | :regexp "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z][_a-zA-Z0-9-]*" |
| 648 | :doc-spec '(("(make)Name Index" nil | 649 | :doc-spec '(("(make)Name Index" nil |
| 650 | "^[ \t]*`" "'") | ||
| 651 | ("(automake)Macro and Variable Index" nil | ||
| 649 | "^[ \t]*`" "'")) | 652 | "^[ \t]*`" "'")) |
| 650 | :parse-rule "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z0-9-]+") | 653 | :parse-rule "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z0-9-]+" |
| 654 | :other-modes '(automake-mode)) | ||
| 651 | 655 | ||
| 652 | (info-lookup-maybe-add-help | 656 | (info-lookup-maybe-add-help |
| 653 | :mode 'texinfo-mode | 657 | :mode 'texinfo-mode |
| @@ -670,7 +674,7 @@ Return nil if there is nothing appropriate in the buffer near point." | |||
| 670 | :regexp "A[CM]_[_A-Z0-9]+" | 674 | :regexp "A[CM]_[_A-Z0-9]+" |
| 671 | :doc-spec '(("(autoconf)Macro Index" "AC_" | 675 | :doc-spec '(("(autoconf)Macro Index" "AC_" |
| 672 | "^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>") | 676 | "^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>") |
| 673 | ("(automake)Index" nil | 677 | ("(automake)Macro and Variable Index" nil |
| 674 | "^[ \t]*`" "'")) | 678 | "^[ \t]*`" "'")) |
| 675 | ;; Autoconf symbols are M4 macros. Thus use M4's parser. | 679 | ;; Autoconf symbols are M4 macros. Thus use M4's parser. |
| 676 | :parse-rule 'ignore | 680 | :parse-rule 'ignore |