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

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

[elpa] externals/ivy-hydra d2891aa 376/395: Percent-encode counsel-searc


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra d2891aa 376/395: Percent-encode counsel-search query
Date: Thu, 25 Feb 2021 08:32:42 -0500 (EST)

branch: externals/ivy-hydra
commit d2891aab7b816aebf21ebd01ce33933a6ac6244f
Author: Aaron L. Zeng <me@bcc32.com>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Percent-encode counsel-search query
    
    * counsel.el (counsel-search-action): Hexify query string.
    
    Copyright-paperwork-exempt: yes
    
    Closes #2773.
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 391452d..3597280 100644
--- a/counsel.el
+++ b/counsel.el
@@ -6805,7 +6805,7 @@ We update it in the callback with 
`ivy-update-candidates'."
   (browse-url
    (concat
     (nth 2 (assoc counsel-search-engine counsel-search-engines-alist))
-    x)))
+    (url-hexify-string x))))
 
 (defun counsel-search ()
   "Ivy interface for dynamically querying a search engine."



reply via email to

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