Commit 9cee7d84 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(bibtex-font-lock-url): Catch when point past bound of search.

parent 089a682e
......@@ -2662,6 +2662,7 @@ begins at the beginning of a line. We use this function for font-locking."
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment