Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

remove conditions on setting `iedit-before-modification-string'.

We should always set this, since we use it for a comparison later.
  • Loading branch information...
commit 20c107594827f731050f1df193b6edd0e99b7508 1 parent a75c446
Le Wang authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 iedit.el
7 iedit.el
@@ -469,10 +469,9 @@ exit iedti mode."
(add-hook 'post-command-hook 'iedit-reset-aborting nil t))
(progn (setq iedit-before-modification-beg beg)
(setq iedit-before-modification-end end)
- (unless (eq beg end)
- (setq iedit-before-modification-string
- (buffer-substring-no-properties beg end)))))
- ;; after modification ;; todo more ellaborate on these conditions
+ (setq iedit-before-modification-string
+ (buffer-substring-no-properties beg end))))
+ ;; after modification
;; Check if we are inserting into zero-width occurrence. ;;

0 comments on commit 20c1075

Please sign in to comment.
Something went wrong with that request. Please try again.