[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 53/77: Destroy after-string before goto-char in easy-kill-abort
From: |
Leo Liu |
Subject: |
[elpa] 53/77: Destroy after-string before goto-char in easy-kill-abort |
Date: |
Sat, 05 Apr 2014 04:08:22 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit ed3b98f94630dfb862584da607455c93e0cf59a0
Author: Leo Liu <address@hidden>
Date: Wed Oct 16 08:28:49 2013 +0800
Destroy after-string before goto-char in easy-kill-abort
Revert bogus commit 4e2d3735
"Teach easy-kill-abort to deactivate mark immediately".
---
easy-kill.el | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/easy-kill.el b/easy-kill.el
index 2cb7b3a..ce1e136 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -259,8 +259,11 @@ candidate property instead."
(defun easy-kill-abort ()
(interactive)
(when easy-kill-mark
+ ;; The after-string may interfere with `goto-char'.
+ (overlay-put (overlay-get easy-kill-candidate 'origin-indicator)
+ 'after-string nil)
(goto-char (overlay-get easy-kill-candidate 'origin))
- (deactivate-mark))
+ (setq deactivate-mark t))
(ding))
(put 'easy-kill-region 'easy-kill-exit t)
- [elpa] 46/77: Teach easy-kill-abort to deactivate mark immediately, (continued)
- [elpa] 46/77: Teach easy-kill-abort to deactivate mark immediately, Leo Liu, 2014/04/05
- [elpa] 47/77: Doc fix and small tweaks, Leo Liu, 2014/04/05
- [elpa] 49/77: Work with `sexp' and `list' in nxml mode, Leo Liu, 2014/04/05
- [elpa] 52/77: Use filter-buffer-substring, Leo Liu, 2014/04/05
- [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 <=
- [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, 2014/04/05
- [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