Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Commits on Feb 09, 2013
Le Wang ensure iedit-skip-modification-once is t in case of errors 50748a5
Commits on Feb 11, 2013
@victorhge Merge pull request #35 from lewang/ensure-skip-mofication-once
ensure iedit-skip-modification-once is t in case of errors
a6d8568
Showing with 8 additions and 0 deletions.
  1. +4 −0 iedit-rect.el
  2. +4 −0 iedit.el
View
4 iedit-rect.el
@@ -93,6 +93,10 @@ Commands:
(interactive (when (iedit-region-active)
(list (region-beginning)
(region-end))))
+
+ ;; enforce skip modification once, errors may happen to cause this to be
+ ;; unset.
+ (setq iedit-skip-modification-once t)
(if iedit-rectangle-mode
(iedit-rectangle-done)
(iedit-barf-if-lib-active)
View
4 iedit.el
@@ -375,6 +375,10 @@ Keymap used within overlays:
(defun iedit-start (occurrence-regexp beg end)
"Start Iedit mode for the `occurrence-regexp' in the current buffer."
+
+ ;; enforce skip modification once, errors may happen to cause this to be
+ ;; unset.
+ (setq iedit-skip-modification-once t)
(setq iedit-unmatched-lines-invisible iedit-unmatched-lines-invisible-default)
(setq iedit-initial-region (list beg end))
(iedit-start2 occurrence-regexp beg end)

No commit comments for this range

Something went wrong with that request. Please try again.