* progmodes/octave.el (octave-help): Fix regexp.

This commit is contained in:
Leo Liu 2013-06-19 10:02:30 +08:00
parent 924d699786
commit ad5281251b
2 changed files with 5 additions and 3 deletions

View 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>.

View 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)))))