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

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

[elpa] externals/counsel 7cdde66 1/2: Insert minibuffer history wholesal


From: Basil L. Contovounesios
Subject: [elpa] externals/counsel 7cdde66 1/2: Insert minibuffer history wholesale
Date: Thu, 19 Aug 2021 11:00:37 -0400 (EDT)

branch: externals/counsel
commit 7cdde66c95d5205287e88010bc7a3a978c931db0
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Insert minibuffer history wholesale
    
    * counsel.el (counsel-minibuffer-history): Replace minibuffer
    contents with selected history element, rather than just appending.
    
    Fixes #1484.
---
 counsel.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/counsel.el b/counsel.el
index d83de86..43bc998 100644
--- a/counsel.el
+++ b/counsel.el
@@ -4831,6 +4831,7 @@ An extra action allows to switch to the process buffer."
     (ivy-read "History: " (ivy-history-contents minibuffer-history-variable)
               :keymap ivy-reverse-i-search-map
               :action (lambda (x)
+                        (delete-minibuffer-contents)
                         (insert (substring-no-properties (car x))))
               :caller 'counsel-minibuffer-history)))
 



reply via email to

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