use deactivate-mark instead of (set-mark nil) #19

Closed
wants to merge 1 commit into
from
View
2 iedit-rect.el
@@ -97,7 +97,7 @@ Commands:
(if (iedit-region-active)
(let ((beg (region-beginning))
(end (region-end)))
- (set-mark nil)
+ (deactivate-mark)
(iedit-rectangle-start beg end)))))
(defun iedit-rectangle-start (beg end)
View
2 iedit.el
@@ -330,7 +330,7 @@ Keymap used within overlays:
(setq beg (region-beginning))
(setq end (region-end)))))
(setq iedit-only-complete-symbol-local complete-symbol)
- (set-mark nil)
+ (deactivate-mark)
(setq iedit-case-sensitive-local iedit-case-sensitive-default)
(iedit-start occurrence beg end))))