emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/iedit 8c2316693a 198/301: Fix bug: C-u M-p does not work


From: ELPA Syncer
Subject: [nongnu] elpa/iedit 8c2316693a 198/301: Fix bug: C-u M-p does not work
Date: Mon, 10 Jan 2022 22:59:02 -0500 (EST)

branch: elpa/iedit
commit 8c2316693a7b55be3681e4cf2103d2d41c00be0f
Author: Victor Ren <victorhge@gmail.com>
Commit: Victor Ren <victorhge@gmail.com>

    Fix bug: C-u M-p does not work
---
 iedit.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iedit.el b/iedit.el
index 3b722ddf49..2f983c8935 100644
--- a/iedit.el
+++ b/iedit.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2010, 2011, 2012 Victor Ren
 
-;; Time-stamp: <2016-06-08 10:58:11 Victor Ren>
+;; Time-stamp: <2016-06-08 23:23:09 Victor Ren>
 ;; Author: Victor Ren <victorhge@gmail.com>
 ;; Keywords: occurrence region simultaneous refactoring
 ;; Version: 0.97
@@ -614,7 +614,7 @@ prefix, bring the top of the region back down one 
occurrence."
   (interactive "P")
   (if arg
       (progn (iedit-restrict-region
-              (1+ (iedit-first-occurrence))
+              (+ (iedit-occurrence-string-length) (iedit-first-occurrence))
               (+ (iedit-occurrence-string-length) (iedit-last-occurrence)))
              (when iedit-mode
                (goto-char (iedit-first-occurrence))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]