]> git.eshelyaron.com Git - emacs.git/commitdiff
* progmodes/octave.el (octave-help): Fix regexp.
authorLeo Liu <sdl.web@gmail.com>
Wed, 19 Jun 2013 02:02:30 +0000 (10:02 +0800)
committerLeo Liu <sdl.web@gmail.com>
Wed, 19 Jun 2013 02:02:30 +0000 (10:02 +0800)
lisp/ChangeLog
lisp/progmodes/octave.el

index ea0deb909462e44479c46b8a61b6dd13d5f4948b..4add465d0c04db4ee524e2506863b00b9cfd5bbf 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-19  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (octave-help): Fix regexp.
+
 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * net/shr.el (shr-make-table-1): Implement <td rowspan>.
index b1936467274f7c6c9becb3fe305ca4ff6c710c15..4e5a3058d4e57bb8f1cabe888974c3ff745d9fb9 100644 (file)
@@ -1666,9 +1666,7 @@ code line."
           (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)))))