projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20368cc
)
Syntax-propertize until the end of the line first
author
Dmitry Gutov
<dgutov@yandex.ru>
Thu, 9 Jul 2015 12:28:04 +0000
(15:28 +0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Thu, 9 Jul 2015 12:30:33 +0000
(15:30 +0300)
* lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
until the end of the line first.
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index 78094ab625ce2c3eb2cd4d4fe1df49b7c222e46a..f175c89c57309c0f5a36fe05cc227604541e6a55 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-798,6
+798,7
@@
tools are used, and when."
(save-excursion
(goto-char (point-min))
(forward-line (1- line))
+ (syntax-propertize (line-end-position))
(when (re-search-forward regexp (line-end-position) t)
(goto-char (match-beginning 0))
(xref-make (buffer-substring