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

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

[elpa] 28/77: [remap kill-ring-save] should be a better key binding for


From: Leo Liu
Subject: [elpa] 28/77: [remap kill-ring-save] should be a better key binding for this feature.
Date: Sat, 05 Apr 2014 04:08:15 +0000

leoliu pushed a commit to branch master
in repository elpa.

commit 7ebe4dee43b751b71735e6cf8f6dd2eae9e17b65
Author: Akinori MUSHA <address@hidden>
Date:   Wed Oct 9 20:54:35 2013 +0900

    [remap kill-ring-save] should be a better key binding for this feature.
    
    Otherwise, you cannot properly copy a selected region in such extended
    selection modes as CUA/CUA rectangle.
---
 README.rst   |    2 +-
 easy-kill.el |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index 8579e4e..597cc26 100644
--- a/README.rst
+++ b/README.rst
@@ -38,7 +38,7 @@ To Use
 ::
 
    (require 'easy-kill)
-   (global-set-key "\M-w" 'easy-kill)
+   (global-set-key [remap kill-ring-save] 'easy-kill)
 
 Extensions
 ~~~~~~~~~~
diff --git a/easy-kill.el b/easy-kill.el
index 98aff18..178d332 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -25,7 +25,7 @@
 
 ;; `easy-kill' aims to be a drop-in replacement for `kill-ring-save'.
 ;;
-;; To use: (global-set-key "\M-w" 'easy-kill)
+;; To use: (global-set-key [remap kill-ring-save] 'easy-kill)
 
 ;;; Code:
 



reply via email to

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