Mercurial > emacs
diff lisp/textmodes/bibtex.el @ 66116:cff7c706ba17
(bibtex-font-lock-url): Catch when point past bound of search.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 16 Oct 2005 14:07:33 +0000 |
parents | 13abee3a9bc6 |
children | d0f7b15488df 0ca0d9181b5e |
line wrap: on
line diff
--- a/lisp/textmodes/bibtex.el Sun Oct 16 13:28:59 2005 +0000 +++ b/lisp/textmodes/bibtex.el Sun Oct 16 14:07:33 2005 +0000 @@ -2662,6 +2662,7 @@ field bounds start end found) (bibtex-beginning-of-field) (while (and (not found) + (<= (point) bound) (prog1 (re-search-forward bibtex-font-lock-url-regexp bound t) (setq field (match-string-no-properties 1))) (setq bounds (bibtex-parse-field-text))