Skip to content

Commit

Permalink
Limit easy-kill-exchange-point-and-mark to easy-mark only
Browse files Browse the repository at this point in the history
  • Loading branch information
leoliu committed Nov 14, 2018
1 parent 5b4ae1e commit 2a6309d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions easy-kill.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2a6309d

Please sign in to comment.