Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add feekback message for iedit-restrict-function

  • Loading branch information...
commit 76eeb87b95c5ff950a3b4c92688a017fb3c32ab9 1 parent 1c410fc
@victorhge authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 iedit.el
View
6 iedit.el
@@ -2,7 +2,7 @@
;; Copyright (C) 2010, 2011, 2012 Victor Ren
-;; Time-stamp: <2012-08-10 10:00:31 Victor Ren>
+;; Time-stamp: <2012-08-10 11:13:42 Victor Ren>
;; Author: Victor Ren <victorhge@gmail.com>
;; Keywords: occurrence region simultaneous rectangle refactoring
;; Version: 0.97
@@ -377,7 +377,9 @@ the initial string globally."
(interactive "P")
(save-excursion
(mark-defun)
- (iedit-restrict-region (region-beginning) (region-end) arg)))
+ (iedit-restrict-region (region-beginning) (region-end) arg))
+ (message "Restricted in current function, %d matches."
+ (length iedit-occurrences-overlays)))
(defun iedit-restrict-region (beg end &optional inclusive)
"Restricting Iedit mode in a region."
Please sign in to comment.
Something went wrong with that request. Please try again.