[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 64/77: Teach easy-kill to handle rectangle-mark from Emacs trunk
From: |
Leo Liu |
Subject: |
[elpa] 64/77: Teach easy-kill to handle rectangle-mark from Emacs trunk |
Date: |
Sat, 05 Apr 2014 04:08:26 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 33160afb45b718f4a7d8675b5cf81299a6497309
Author: Leo Liu <address@hidden>
Date: Wed Oct 30 01:53:14 2013 +0800
Teach easy-kill to handle rectangle-mark from Emacs trunk
---
easy-kill.el | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/easy-kill.el b/easy-kill.el
index 69448d9..9c2638d 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -370,7 +370,10 @@ Temporally activate additional key bindings as follows:
others => save selection and exit."
(interactive "p")
(if (use-region-p)
- (kill-ring-save (region-beginning) (region-end))
+ (if (fboundp 'rectangle-mark)
+ (with-no-warnings ; new in 24.4
+ (kill-ring-save (region-beginning) (region-end) t))
+ (kill-ring-save (region-beginning) (region-end)))
(setq easy-kill-mark nil)
(setq easy-kill-append (eq last-command 'kill-region))
(easy-kill-init-candidate n)
@@ -477,7 +480,7 @@ inspected."
(defun easy-kill-on-nxml-element (n)
(let ((nxml-sexp-element-flag t)
- (up-list-fn #'nxml-up-element))
+ (up-list-fn 'nxml-up-element))
(cond
((memq n '(+ -))
(let ((bounds (easy-kill-bounds-of-list n)))
- [elpa] 51/77: Fix quoting error in face definitions, (continued)
- [elpa] 51/77: Fix quoting error in face definitions, Leo Liu, 2014/04/05
- [elpa] 50/77: Fix last change to easy-kill-backward-up, Leo Liu, 2014/04/05
- [elpa] 55/77: Fix easy-kill-backward-down to handle prefix chars, Leo Liu, 2014/04/05
- [elpa] 48/77: Make command easy-kill-append work for easy-mark, Leo Liu, 2014/04/05
- [elpa] 57/77: Fix to always display the string candidate, Leo Liu, 2014/04/05
- [elpa] 58/77: Emacs 24.x compatibility, Leo Liu, 2014/04/05
- [elpa] 53/77: Destroy after-string before goto-char in easy-kill-abort, Leo Liu, 2014/04/05
- [elpa] 54/77: Better control of message emission in an easy-kill session, Leo Liu, 2014/04/05
- [elpa] 63/77: Teach easy-kill-activate-keymap to handle command remapping, Leo Liu, 2014/04/05
- [elpa] 59/77: Doc fix, Leo Liu, 2014/04/05
- [elpa] 64/77: Teach easy-kill to handle rectangle-mark from Emacs trunk,
Leo Liu <=
- [elpa] 56/77: Doc fix and release v0.9.0, Leo Liu, 2014/04/05
- [elpa] 61/77: Optimise easy-kill-thing-forward when n is 0, Leo Liu, 2014/04/05
- [elpa] 62/77: Small tweak to easy-kill-on-nxml-element, Leo Liu, 2014/04/05
- [elpa] 60/77: Make easy-kill-on-buffer-file-name do nothing in easy-mark, Leo Liu, 2014/04/05
- [elpa] 68/77: Fix easy-kill-append to update clipboard, Leo Liu, 2014/04/05
- [elpa] 65/77: Fix #8: Don't strip trailing blank chars, Leo Liu, 2014/04/05
- [elpa] 67/77: New handler for defun-name and bind it to `D', Leo Liu, 2014/04/05
- [elpa] 66/77: Fix #9: Work around fixed bug in thingatpt.el, Leo Liu, 2014/04/05
- [elpa] 71/77: In no case should easy-kill-activate-keymap err, Leo Liu, 2014/04/05
- [elpa] 70/77: Adapt to upstream change, Leo Liu, 2014/04/05