Mercurial > emacs
comparison lisp/info-look.el @ 73356:1f6137cb9eff
* info-look.el: Update lookup regexp for maxima modes.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 13 Oct 2006 14:52:48 +0000 |
parents | 3bd95f4f2941 |
children | 1cf33b77992b 8dd8c8286063 |
comparison
equal
deleted
inserted
replaced
73355:0ccc792e3626 | 73356:1f6137cb9eff |
---|---|
841 nil))) | 841 nil))) |
842 | 842 |
843 (info-lookup-maybe-add-help | 843 (info-lookup-maybe-add-help |
844 :mode 'maxima-mode | 844 :mode 'maxima-mode |
845 :ignore-case t | 845 :ignore-case t |
846 :regexp "[a-zA-Z_%]+" | 846 :regexp "[a-zA-Z0-9_%]+" |
847 :doc-spec '( ("(maxima)Function and Variable Index" nil | 847 :doc-spec '( ("(maxima)Function and Variable Index" nil |
848 "^ -+ [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil))) | 848 "^ -+ [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil))) |
849 | 849 |
850 (info-lookup-maybe-add-help | 850 (info-lookup-maybe-add-help |
851 :mode 'inferior-maxima-mode | 851 :mode 'inferior-maxima-mode |
852 :regexp "[a-zA-Z0-9_%]+" | |
852 :other-modes '(maxima-mode)) | 853 :other-modes '(maxima-mode)) |
853 | 854 |
854 ;; coreutils and bash builtins overlap in places, eg. printf, so there's a | 855 ;; coreutils and bash builtins overlap in places, eg. printf, so there's a |
855 ;; question which should come first. Some of the coreutils descriptions are | 856 ;; question which should come first. Some of the coreutils descriptions are |
856 ;; more detailed, but if bash is usually /bin/sh on a GNU system then the | 857 ;; more detailed, but if bash is usually /bin/sh on a GNU system then the |