branch: externals/easy-kill commit 2a6309d98aa6b71df6bbbcdf15cab3187c521a6b Author: Leo Liu <sdl....@gmail.com> Commit: Leo Liu <sdl....@gmail.com>
Limit easy-kill-exchange-point-and-mark to easy-mark only --- easy-kill.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/easy-kill.el b/easy-kill.el index 455c58e..c31af0d 100644 --- a/easy-kill.el +++ b/easy-kill.el @@ -562,10 +562,11 @@ checked." (defun easy-kill-exchange-point-and-mark () (interactive) - (exchange-point-and-mark) - (setf (easy-kill-get mark) - (if (eq (point) (easy-kill-get start)) - 'end 'start))) + (when (easy-kill-get mark) + (exchange-point-and-mark) + (setf (easy-kill-get mark) + (if (eq (point) (easy-kill-get start)) + 'end 'start)))) (easy-kill-defun easy-kill-append () (interactive)