emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

little fix for `maxima-mode' and `inferior-maxima-mode'


From: Andrea Russo
Subject: little fix for `maxima-mode' and `inferior-maxima-mode'
Date: Sun, 08 Oct 2006 03:02:09 +0200

Hi,

Here is a patch that makes `maxima-mode' and `inferior-maxima-mode' help
commands work for functions and variables with numbers in the name.

With this, commands like `info-lookup-symbol' spots maxima functions
in the info manual named like `plot2d' or `resolvante_klein3'.

Regards,
Andrea.

--- orig/lisp/info-look.el
+++ mod/lisp/info-look.el
@@ -843,12 +843,13 @@
 (info-lookup-maybe-add-help
  :mode 'maxima-mode
  :ignore-case t
- :regexp "[a-zA-Z_%]+"
+ :regexp "[a-zA-Z0-9_%]+"
  :doc-spec '( ("(maxima)Function and Variable Index" nil
               "^ -+ [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil)))
 
 (info-lookup-maybe-add-help
  :mode 'inferior-maxima-mode
+ :regexp "[a-zA-Z0-9_%]+"
  :other-modes '(maxima-mode))
 
 ;; coreutils and bash builtins overlap in places, eg. printf, so there's a


-- 
Reclama i tuoi diritti digitali, elimina il DRM.  Approfondisci su
http://www.no1984.org
Reclaim your digital rights, eliminate DRM.  Learn more at
http://www.defectivebydesign.org/what_is_drm




reply via email to

[Prev in Thread] Current Thread [Next in Thread]