[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c7e9792: Syntax-propertize until the end of the lin
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] master c7e9792: Syntax-propertize until the end of the line first |
Date: |
Thu, 09 Jul 2015 12:31:02 +0000 |
branch: master
commit c7e9792565dc8a8a91bb8d1e1a9f698c751a9c1e
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Syntax-propertize until the end of the line first
* lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
until the end of the line first.
---
lisp/progmodes/xref.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 78094ab..f175c89 100644
--- 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master c7e9792: Syntax-propertize until the end of the line first,
Dmitry Gutov <=