]> git.eshelyaron.com Git - emacs.git/commitdiff
(tags-query-replace): Set arg `map' of `perform-replace'
authorJuri Linkov <juri@jurta.org>
Wed, 23 Jul 2008 01:19:26 +0000 (01:19 +0000)
committerJuri Linkov <juri@jurta.org>
Wed, 23 Jul 2008 01:19:26 +0000 (01:19 +0000)
to `multi-query-replace-map'.

lisp/ChangeLog
lisp/progmodes/etags.el

index 51ce3690812a29f058d68b2b18fc78fb22172396..6ea835e256ad10d0a6d01fb2265ef19f02a102e9 100644 (file)
@@ -1,3 +1,16 @@
+2008-07-23  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (multi-query-replace-map): New variable.
+       (perform-replace): Add processing of new multi-buffer keys bound
+       to `automatic-all' and `exit-current'.  Set `query-flag' to nil
+       if last input char was `automatic-all'.  Set new local variable
+       `multi-buffer' to t when one of new two keys were typed.  Return
+       non-nil value of `multi-buffer' that tells to calling functions
+       to continue replacement on the next file.
+
+       * progmodes/etags.el (tags-query-replace): Set arg `map' of
+       `perform-replace' to `multi-query-replace-map'.
+
 2008-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * diff-mode.el (diff-auto-refine-mode): Remove lighter, since it's
index 4e4fdd63abf6304023a34cb0beb16802a589716f..a94780a7484b1bfcbdc56305de778ab04f4fb8fe 100644 (file)
@@ -1865,7 +1865,8 @@ See also the documentation of the variable `tags-file-name'."
                              ;; to the beginning of it so perform-replace
                              ;; will see it.
                              (goto-char (match-beginning 0))))
-       tags-loop-operate `(perform-replace ',from ',to t t ',delimited))
+       tags-loop-operate `(perform-replace ',from ',to t t ',delimited
+                                           nil multi-query-replace-map))
   (tags-loop-continue (or file-list-form t)))
 \f
 (defun tags-complete-tags-table-file (string predicate what) ; Doc string?