diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-04-30 08:48:02 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-04-30 08:48:02 +0000 |
commit | 5d8137abac262ce380105a6d2c38783e07c2f4e1 (patch) | |
tree | 6fb2964c9fbf8a3a7ae3d290cdb2987206c32870 /lisp/info-look.el | |
parent | af36f8ed1fd19b523469a2530923b1d2accceb32 (diff) | |
download | emacs-5d8137abac262ce380105a6d2c38783e07c2f4e1.tar.gz |
* progmodes/octave-mod.el (octave-help): New function.
* progmodes/octave-hlp.el: Delete.
* info-look.el (octave-mode): Add operator index.
Diffstat (limited to 'lisp/info-look.el')
-rw-r--r-- | lisp/info-look.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info-look.el b/lisp/info-look.el index a5d9754f1a8..a0d9b10d995 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -881,10 +881,11 @@ Return nil if there is nothing appropriate in the buffer near point." (info-lookup-maybe-add-help :mode 'octave-mode - :regexp "[_a-zA-Z0-9]+" + :regexp "[_a-zA-Z0-9]+\\|\\s.+\\|[-!=^|*/.\\,><~&+]\\{1,3\\}\\|[][();,\"']" :doc-spec '(("(octave)Function Index" nil "^ -+ [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil) ("(octave)Variable Index" nil "^ -+ [^:]+:[ ]+" nil) + ("(octave)Operator Index" nil nil nil) ;; Catch lines of the form "xyz statement" ("(octave)Concept Index" (lambda (item) |