aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorLeo Liu2013-05-14 18:11:56 +0800
committerLeo Liu2013-05-14 18:11:56 +0800
commit6073d8f44ac2f774b2127b96a9a5be101233bce7 (patch)
treee5260a8c618783f4dc030862ff4fd96410b47491 /lisp/progmodes
parent8fdeaad563abf86083da6e50e2619291b7d1e455 (diff)
downloademacs-6073d8f44ac2f774b2127b96a9a5be101233bce7.tar.gz
emacs-6073d8f44ac2f774b2127b96a9a5be101233bce7.zip
* progmodes/octave.el (octave-font-lock-texinfo-comment):
Fix invalid search bound error: wrong side of point.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/octave.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index e4e0dbc4ee1..2fd2aadfc99 100644
--- a/lisp/progmodes/octave.el
+++ b/lisp/progmodes/octave.el
@@ -1067,7 +1067,8 @@ q: Don't fix\n" func file))
1067 (font-lock-add-keywords 1067 (font-lock-add-keywords
1068 nil 1068 nil
1069 `((,(lambda (limit) 1069 `((,(lambda (limit)
1070 (while (and (search-forward "-*- texinfo -*-" limit t) 1070 (while (and (< (point) limit)
1071 (search-forward "-*- texinfo -*-" limit t)
1071 (octave-in-comment-p)) 1072 (octave-in-comment-p))
1072 (let ((beg (nth 8 (syntax-ppss))) 1073 (let ((beg (nth 8 (syntax-ppss)))
1073 (end (progn 1074 (end (progn