Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9cee7d84
Commit
9cee7d84
authored
Oct 16, 2005
by
Stefan Monnier
Browse files
(bibtex-font-lock-url): Catch when point past bound of search.
parent
089a682e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lisp/textmodes/bibtex.el
lisp/textmodes/bibtex.el
+1
-0
No files found.
lisp/textmodes/bibtex.el
View file @
9cee7d84
...
@@ -2662,6 +2662,7 @@ begins at the beginning of a line. We use this function for font-locking."
...
@@ -2662,6 +2662,7 @@ begins at the beginning of a line. We use this function for font-locking."
field
bounds
start
end
found
)
field
bounds
start
end
found
)
(
bibtex-beginning-of-field
)
(
bibtex-beginning-of-field
)
(
while
(
and
(
not
found
)
(
while
(
and
(
not
found
)
(
<=
(
point
)
bound
)
(
prog1
(
re-search-forward
bibtex-font-lock-url-regexp
bound
t
)
(
prog1
(
re-search-forward
bibtex-font-lock-url-regexp
bound
t
)
(
setq
field
(
match-string-no-properties
1
)))
(
setq
field
(
match-string-no-properties
1
)))
(
setq
bounds
(
bibtex-parse-field-text
))
(
setq
bounds
(
bibtex-parse-field-text
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment