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

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

[elpa] externals/ivy-hydra 4894b65 329/395: ivy-avy.el: Don't overwrite


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 4894b65 329/395: ivy-avy.el: Don't overwrite existing ivy-minibuffer-map binding
Date: Thu, 25 Feb 2021 08:32:31 -0500 (EST)

branch: externals/ivy-hydra
commit 4894b65140556ee58678e2acf23766bdbf37655d
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ivy-avy.el: Don't overwrite existing ivy-minibuffer-map binding
    
    Re melpa/melpa#6951
---
 ivy-avy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy-avy.el b/ivy-avy.el
index 8f0ad03..8213827 100644
--- a/ivy-avy.el
+++ b/ivy-avy.el
@@ -103,7 +103,8 @@
         (ivy-avy--action res)))))
 
 (put 'ivy-avy 'no-counsel-M-x t)
-(define-key ivy-minibuffer-map (kbd "C-'") 'ivy-avy)
+(unless (lookup-key ivy-minibuffer-map (kbd "C-'"))
+  (define-key ivy-minibuffer-map (kbd "C-'") 'ivy-avy))
 (add-to-list 'avy-styles-alist `(ivy-avy . ,ivy-avy-style))
 
 (provide 'ivy-avy)



reply via email to

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