Navigation Menu

Skip to content

Commit

Permalink
Do not jump to the first occurrence after iedit-restrict-region
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhge committed Dec 8, 2012
1 parent 64a7905 commit bceb12e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions iedit.el
Expand Up @@ -2,7 +2,7 @@

;; Copyright (C) 2010, 2011, 2012 Victor Ren

;; Time-stamp: <2012-10-22 14:14:53 Victor Ren>
;; Time-stamp: <2012-12-08 14:17:05 Victor Ren>
;; Author: Victor Ren <victorhge@gmail.com>
;; Keywords: occurrence region simultaneous refactoring
;; Version: 0.97
Expand Down Expand Up @@ -422,8 +422,7 @@ the initial string globally."
(end (region-end)))
(if (null (iedit-find-overlay beg end 'iedit-occurrence-overlay-name arg))
(iedit-done)
(iedit-restrict-region beg end arg)
(iedit-first-occurrence)))
(iedit-restrict-region beg end arg)))
(iedit-done)))


Expand Down

0 comments on commit bceb12e

Please sign in to comment.