[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 48/77: Make command easy-kill-append work for easy-mark
From: |
Leo Liu |
Subject: |
[elpa] 48/77: Make command easy-kill-append work for easy-mark |
Date: |
Sat, 05 Apr 2014 04:08:21 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 0b658c85f25e312e39cfb418d821326159b86afc
Author: Leo Liu <address@hidden>
Date: Mon Oct 14 11:57:40 2013 +0800
Make command easy-kill-append work for easy-mark
---
README.rst | 3 +++
easy-kill.el | 7 ++++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/README.rst b/README.rst
index 4306c63..3ab89b8 100644
--- a/README.rst
+++ b/README.rst
@@ -38,6 +38,9 @@ The following `screenshot <http://i.imgur.com/8TNgPly.png>`_
shows
To Use
~~~~~~
+``easy-kill`` is available on `MELPA
+<http://melpa.milkbox.net/#/easy-kill>`_.
+
::
(require 'easy-kill)
diff --git a/easy-kill.el b/easy-kill.el
index 778c95a..d2338e3 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -166,7 +166,7 @@ candidate property instead."
(funcall interprogram-cut-function (easy-kill-candidate))))))
(defun easy-kill-save-candidate ()
- (unless (or easy-kill-mark (string= (easy-kill-candidate) ""))
+ (unless (string= (easy-kill-candidate) "")
;; Do not modify the clipboard here because this may be called in
;; `pre-command-hook' and will confuse `yank' if it is the next
;; command. Also `easy-kill-adjust-candidate' already did the
@@ -305,8 +305,9 @@ candidate property instead."
(eq this-command (lookup-key map
(this-command-keys-vector))))
(ignore
(easy-kill-destroy-candidate)
- (unless (and (symbolp this-command)
- (get this-command 'easy-kill-exit))
+ (unless (or easy-kill-mark
+ (and (symbolp this-command)
+ (get this-command 'easy-kill-exit)))
(easy-kill-save-candidate)))))))))
;;;###autoload
- [elpa] 41/77: Tell easy-kill-append to deactivate-mark, (continued)
- [elpa] 41/77: Tell easy-kill-append to deactivate-mark, Leo Liu, 2014/04/05
- [elpa] 44/77: Fix #7: Add new command easy-kill-abort for key C-g, Leo Liu, 2014/04/05
- [elpa] 45/77: Better origin indicator by easy-kill-indicate-origin, Leo Liu, 2014/04/05
- [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 <=
- [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, 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