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

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

[elpa] master eb0217d 3/7: Add quotes around pattern of all ack commands


From: João Távora
Subject: [elpa] master eb0217d 3/7: Add quotes around pattern of all ack commands
Date: Mon, 6 Jul 2020 07:19:34 -0400 (EDT)

branch: master
commit eb0217df76395593a9dd2446c5a3d0628fa94c0f
Author: Simon Lang <simon.lang@outlook.com>
Commit: João Távora <joaotavora@gmail.com>

    Add quotes around pattern of all ack commands
    
    * ack.el (ack): added quotes to pattern.
---
 ack.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ack.el b/ack.el
index 6a8a382..f44ab8f 100644
--- a/ack.el
+++ b/ack.el
@@ -503,7 +503,8 @@ minibuffer:
      (list (minibuffer-with-setup-hook 'ack-minibuffer-setup-function
              (catch 'ack--auto-confirm
                (read-from-minibuffer "Ack: "
-                                     ack-command
+                                    `(,(concat ack-command "''")
+                                      . ,(+ (length ack-command) 2))
                                      ack-minibuffer-local-map
                                      nil 'ack-history)))
            ack--project-root)))



reply via email to

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