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

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

[elpa] master fa9acdb 222/399: swiper.el (swiper-isearch-thing-at-point)


From: Oleh Krehel
Subject: [elpa] master fa9acdb 222/399: swiper.el (swiper-isearch-thing-at-point): Add symbol boundaries
Date: Sat, 20 Jul 2019 14:57:27 -0400 (EDT)

branch: master
commit fa9acdb33be4244a6ebaeef30d0cde927d38dedb
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    swiper.el (swiper-isearch-thing-at-point): Add symbol boundaries
    
    Use `undo' to cancel them.
    
    Fixes #2031
---
 swiper.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/swiper.el b/swiper.el
index 7c81acf..92e7836 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1280,7 +1280,8 @@ When not running `swiper-isearch' already, start it."
           (setq str (buffer-substring-no-properties (car bnd) (cdr bnd))))
         (setq swiper--isearch-point-history
               (list (cons "" (car bnd))))
-        (insert str))
+        (insert str)
+        (ivy--insert-symbol-boundaries))
     (let (thing)
       (if (use-region-p)
           (progn



reply via email to

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