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

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

[nongnu] elpa/meow 6a0dc2d2c2 1/2: Revert "meow-command: fix meow-visit


From: ELPA Syncer
Subject: [nongnu] elpa/meow 6a0dc2d2c2 1/2: Revert "meow-command: fix meow-visit bug on empty input (#602)"
Date: Sun, 2 Jun 2024 04:00:21 -0400 (EDT)

branch: elpa/meow
commit 6a0dc2d2c2fb3861a6a5b7ba773d41b6c8c7a71c
Author: eshrh <esrh@gatech.edu>
Commit: eshrh <esrh@gatech.edu>

    Revert "meow-command: fix meow-visit bug on empty input (#602)"
    
    This reverts commit 090f7a4ad3e8085785b991d9e2e135399906911d.
---
 meow-command.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meow-command.el b/meow-command.el
index ed389cc8e4..ec56b8283c 100644
--- a/meow-command.el
+++ b/meow-command.el
@@ -1395,7 +1395,7 @@ To search backward, use \\[negative-argument]."
          (text (meow--prompt-symbol-and-words
                 (if arg "Visit backward: " "Visit: ")
                 (point-min) (point-max)))
-         (visit-point (if (string-empty-p text) nil (meow--visit-point text 
reverse))))
+         (visit-point (meow--visit-point text reverse)))
     (if visit-point
         (let* ((m (match-data))
                (marker-beg (car m))
@@ -1409,7 +1409,7 @@ To search backward, use \\[negative-argument]."
           (meow--ensure-visible)
           (meow--highlight-regexp-in-buffer text)
           (setq meow--dont-remove-overlay t))
-      (message "Visit: %s failed" (if (string-empty-p text) "<empty>" text)))))
+      (message "Visit: %s failed" text))))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;; THING



reply via email to

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