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

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

[elpa] master b891762 2/3: Give smart-yank's mode map the canonical name


From: Michael Heerdegen
Subject: [elpa] master b891762 2/3: Give smart-yank's mode map the canonical name
Date: Tue, 17 May 2016 20:03:12 +0000 (UTC)

branch: master
commit b8917620699bffe4624df43b3a843588b5b4f15c
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    Give smart-yank's mode map the canonical name
    
    Thanks Stefan.
---
 packages/smart-yank/smart-yank.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/smart-yank/smart-yank.el 
b/packages/smart-yank/smart-yank.el
index bde6acb..a5289eb 100644
--- a/packages/smart-yank/smart-yank.el
+++ b/packages/smart-yank/smart-yank.el
@@ -95,7 +95,7 @@ See `smart-yank-yank-pop' for details."
                  (const helm-show-kill-ring)
                  (function :tag "Other Function")))
 
-(defvar smart-yank-map
+(defvar smart-yank-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map [remap yank-pop] #'smart-yank-yank-pop)
     map)
@@ -180,7 +180,7 @@ Turning on this mode has the following effects:
    element is automatically \"moved to the first position\" of
    the `kill-ring' so that `yank' invoked later will again yank
    this element."
-  :global t :keymap smart-yank-map
+  :global t
   (if smart-yank-mode
       (advice-add 'yank :before #'smart-yank--before-ad)
     (advice-remove 'yank #'smart-yank--before-ad)))



reply via email to

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