[Top][All Lists]

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

[elpa] master b9f3e3b 017/184: swiper.el (swiper-isearch-action): Simpli

From: Oleh Krehel
Subject: [elpa] master b9f3e3b 017/184: swiper.el (swiper-isearch-action): Simplify
Date: Wed, 16 Oct 2019 13:14:41 -0400 (EDT)

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

    swiper.el (swiper-isearch-action): Simplify
 swiper.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/swiper.el b/swiper.el
index 36715af..bb97bbf 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1393,9 +1393,7 @@ that we search only for one character."
 (defun swiper-isearch-action (x)
   "Move to X for `swiper-isearch'."
-  (if (or (numberp x)
-          (and (> (length x) 0)
-               (setq x (get-text-property 0 'point x))))
+  (if (numberp x)
         (goto-char x)
         (when (and (or (eq this-command 'ivy-previous-line-or-history)

reply via email to

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