Fix invalid search bound error: wrong side of point.
* progmodes/octave.el (octave-font-lock-keywords): Fix error
during redisplay.
(octave-goto-function-definition, octave-find-definition): Minor tweaks.
+ (octave-font-lock-texinfo-comment): Fix invalid search bound
+ error: wrong side of point.
2013-05-14 Glenn Morris <rgm@gnu.org>
(font-lock-add-keywords
nil
`((,(lambda (limit)
- (while (and (search-forward "-*- texinfo -*-" limit t)
+ (while (and (< (point) limit)
+ (search-forward "-*- texinfo -*-" limit t)
(octave-in-comment-p))
(let ((beg (nth 8 (syntax-ppss)))
(end (progn