emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/symbol-overlay 765e1d3b07 050/152: improvements on refresh


From: ELPA Syncer
Subject: [nongnu] elpa/symbol-overlay 765e1d3b07 050/152: improvements on refresh
Date: Thu, 7 Jul 2022 12:04:11 -0400 (EDT)

branch: elpa/symbol-overlay
commit 765e1d3b073ab0f86979cb61393e523c37633240
Author: wolray <290061869@qq.com>
Commit: wolray <290061869@qq.com>

    improvements on refresh
---
 symbol-overlay.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/symbol-overlay.el b/symbol-overlay.el
index 9aa22d2ede..e7a415b315 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -522,7 +522,8 @@ BEG, END and LEN are the beginning, end and length of 
changed text."
          (and (looking-at-p re)
               (setq end (re-search-forward "\\_>")))
          (goto-char beg)
-         (and (looking-at-p (concat "\\(" re "\\|\\_>\\)"))
+         (and (not (looking-at-p "\\_<"))
+              (looking-at-p (concat "\\(" re "\\|\\_>\\)"))
               (setq beg (re-search-backward "\\_<")))
          (mapc #'(lambda (overlay)
                    (and (overlay-get overlay 'symbol)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]