Permalink
Browse files

Add feekback message for iedit-restrict-function

  • Loading branch information...
1 parent 1c410fc commit 76eeb87b95c5ff950a3b4c92688a017fb3c32ab9 @victorhge victorhge committed Aug 10, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 iedit.el
View
@@ -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."

0 comments on commit 76eeb87

Please sign in to comment.