leoliu pushed a commit to branch master in repository elpa. commit 51f455bbe718a47a8e734ffd8d114c0a24154858 Author: Leo Liu <sdl....@gmail.com> Date: Tue Oct 22 12:46:23 2013 +0800
Doc fix --- README.rst | 6 ++++-- easy-kill.el | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index b9614a0..c8bc9c7 100644 --- a/README.rst +++ b/README.rst @@ -32,8 +32,10 @@ active: #. ``SPC`` -> turn selection into an active region #. ``C-g`` -> abort -Any other keys exit the temporary keymap. See ``M-w l`` in action in -`screenshot <http://i.imgur.com/8TNgPly.png>`_: +Any other keys exit the temporary keymap and automatically save +selection to the ``kill-ring``. See ``M-w l`` (save list at point to +the kill ring) in action in `screenshot +<http://i.imgur.com/8TNgPly.png>`_: .. figure:: http://i.imgur.com/8TNgPly.png :target: http://i.imgur.com/8TNgPly.png diff --git a/easy-kill.el b/easy-kill.el index 1d10ea9..a4684d4 100644 --- a/easy-kill.el +++ b/easy-kill.el @@ -228,6 +228,8 @@ candidate property instead." (and (overlayp i) (delete-overlay i))) (delete-overlay o))) (remove-hook 'post-command-hook ',hook))) + ;; Run in `post-command-hook' so that exit commands can still use + ;; `easy-kill-candidate'. (add-hook 'post-command-hook hook))) (defun easy-kill-expand ()