diff options
| author | Stephen Eglen | 2004-02-01 13:52:33 +0000 |
|---|---|---|
| committer | Stephen Eglen | 2004-02-01 13:52:33 +0000 |
| commit | b3a3e4e1628a48e4f3ca5004d2a7a48e6cc8052c (patch) | |
| tree | c8b584ebbac6acdb8815a84d4065c224cc40245e | |
| parent | ac459e8a5e2940435625ecc2541f2338a9e3901c (diff) | |
| download | emacs-b3a3e4e1628a48e4f3ca5004d2a7a48e6cc8052c.tar.gz emacs-b3a3e4e1628a48e4f3ca5004d2a7a48e6cc8052c.zip | |
Add support for maxima-mode. Update commentary
because info-lookup-symbol is now bound to C-h S.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/info-look.el | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c5a5ffe16ae..f4cdf9028bd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-02-01 Stephen Eglen <stephen@gnu.org> | ||
| 2 | |||
| 3 | * info-look.el: Add support for maxima-mode. Update commentary | ||
| 4 | because info-lookup-symbol is now bound to C-h S. | ||
| 5 | |||
| 1 | 2004-01-31 Luc Teirlinck <teirllm@auburn.edu> | 6 | 2004-01-31 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 7 | ||
| 3 | * simple.el (edit-and-eval-command): Bind print-level and | 8 | * simple.el (edit-and-eval-command): Bind print-level and |
diff --git a/lisp/info-look.el b/lisp/info-look.el index a184567ea9c..89eb1d7e411 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | ;;; Commentary: | 27 | ;;; Commentary: |
| 28 | 28 | ||
| 29 | ;; Really cool code to lookup info indexes. | 29 | ;; Really cool code to lookup info indexes. |
| 30 | ;; Try especially info-lookup-symbol (aka C-h TAB). | 30 | ;; Try especially info-lookup-symbol (aka C-h S). |
| 31 | 31 | ||
| 32 | ;;; Code: | 32 | ;;; Code: |
| 33 | 33 | ||
| @@ -830,6 +830,17 @@ Return nil if there is nothing appropriate in the buffer near point." | |||
| 830 | nil; "^ - [^:]+:[ ]+" don't think this prefix is useful here. | 830 | nil; "^ - [^:]+:[ ]+" don't think this prefix is useful here. |
| 831 | nil))) | 831 | nil))) |
| 832 | 832 | ||
| 833 | (info-lookup-maybe-add-help | ||
| 834 | :mode 'maxima-mode | ||
| 835 | :ignore-case t | ||
| 836 | :regexp "[a-zA-Z_%]+" | ||
| 837 | :doc-spec '( ("(maxima)Function and Variable Index" nil | ||
| 838 | "^ - [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil))) | ||
| 839 | |||
| 840 | (info-lookup-maybe-add-help | ||
| 841 | :mode 'inferior-maxima-mode | ||
| 842 | :other-modes '(maxima-mode)) | ||
| 843 | |||
| 833 | ;; coreutils and bash builtins overlap in places, eg. printf, so there's a | 844 | ;; coreutils and bash builtins overlap in places, eg. printf, so there's a |
| 834 | ;; question which should come first. Some of the coreutils descriptions are | 845 | ;; question which should come first. Some of the coreutils descriptions are |
| 835 | ;; more detailed, but if bash is usually /bin/sh on a GNU system then the | 846 | ;; more detailed, but if bash is usually /bin/sh on a GNU system then the |