Permalink
Browse files

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

  • Loading branch information...
Le Wang
Le Wang committed Aug 30, 2012
1 parent 3cf5e8f commit f5bda4c78b2b04bac2a12ecd96c7ec4869e6ac49
Showing with 2 additions and 2 deletions.
  1. +1 −1 iedit-rect.el
  2. +1 −1 iedit.el
View
@@ -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
@@ -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))))

0 comments on commit f5bda4c

Please sign in to comment.