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

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

[nongnu] elpa/iedit d872cb77e5 058/301: Update comments for restricting


From: ELPA Syncer
Subject: [nongnu] elpa/iedit d872cb77e5 058/301: Update comments for restricting
Date: Mon, 10 Jan 2022 22:58:50 -0500 (EST)

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

    Update comments for restricting
---
 iedit.el | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/iedit.el b/iedit.el
index bcf0b92fd0..eb04bc2995 100644
--- a/iedit.el
+++ b/iedit.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2010, 2011, 2012 Victor Ren
 
-;; Time-stamp: <2012-02-20 13:46:59 Victor Ren>
+;; Time-stamp: <2012-02-20 14:29:08 Victor Ren>
 ;; Author: Victor Ren <victorhge@gmail.com>
 ;; Keywords: occurrence region replace simultaneous
 ;; Version: 0.94
@@ -304,9 +304,7 @@ This is like `describe-bindings', but displays only Iedit 
keys."
 ;;;###autoload
 (defun iedit-mode (&optional arg)
   "Toggle iedit mode.
-If iedit mode is off, turn iedit mode on. If iedit mode is on and
-region is active, iedit mode is restricted in the
-region. Otherwise turn iedit mode off.
+If iedit mode is off, turn iedit mode on.
 
 In Transient Mark mode, when iedit mode is turned on, all the
 occurrences of the current region are highlighted.  If one
@@ -326,14 +324,24 @@ You can also switch to iedit mode from isearch mode 
directly. The
 current search string is used as occurrence.  All occurrences of
 the current search string are highlighted.
 
-With a universal prefix argument and no active region, the
+With an universal prefix argument and no active region, the
 occurrence when iedit is turned off last time is used as
 occurrence.  This is intended to recover last iedit which is
 turned off by mistake.
 
-With a universal prefix argument and region active, interactively
+With an universal prefix argument and region active, interactively
 edit region as a string rectangle.
 
+If iedit mode is on and region is active, iedit mode is
+restricted in the region, e.g. the occurrences outside of the region
+is excluded.
+
+If iedit mode is on and region is active, with a
+prefix argument, iedit mode is restricted outside of the region,
+e.g. the occurrences in the region is excluded.
+
+Turn off iedit mode in other situations.
+
 Commands:
 \\{iedit-current-keymap}"
   (interactive "P")



reply via email to

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