emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r113063: * progmodes/octave.el (octave-help): Fix re


From: Leo Liu
Subject: [Emacs-diffs] trunk r113063: * progmodes/octave.el (octave-help): Fix regexp.
Date: Wed, 19 Jun 2013 02:03:15 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113063
revision-id: address@hidden
parent: address@hidden
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Wed 2013-06-19 10:02:30 +0800
message:
  * progmodes/octave.el (octave-help): Fix regexp.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/octave.el       
octavemod.el-20091113204419-o5vbwnq5f7feedwu-1028
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-06-18 22:38:34 +0000
+++ b/lisp/ChangeLog    2013-06-19 02:02:30 +0000
@@ -1,3 +1,7 @@
+2013-06-19  Leo Liu  <address@hidden>
+
+       * progmodes/octave.el (octave-help): Fix regexp.
+
 2013-06-18  Lars Magne Ingebrigtsen  <address@hidden>
 
        * net/shr.el (shr-make-table-1): Implement <td rowspan>.

=== modified file 'lisp/progmodes/octave.el'
--- a/lisp/progmodes/octave.el  2013-06-12 02:58:03 +0000
+++ b/lisp/progmodes/octave.el  2013-06-19 02:02:30 +0000
@@ -1666,9 +1666,7 @@
           (when (re-search-forward "^\\s-*See also:" nil t)
             (let ((end (save-excursion (re-search-forward "^\\s-*$" nil t))))
               (while (re-search-forward
-                      ;; Match operators and symbols.
-                      
"\\(?1:\\s.+?\\)\\(?:$\\|[,;]\\|\\s-\\)\\|\\_<\\(?1:\\(?:\\sw\\|\\s_\\)+\\)\\_>"
-                      end t)
+                      "\\s-*\\([^,\n]+?\\)\\s-*\\(?:[,]\\|[.]?$\\)" end t)
                 (make-text-button (match-beginning 1) (match-end 1)
                                   :type 'octave-help-function)))))
         (octave-help-mode)))))


reply via email to

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