diff options
| author | Juri Linkov | 2008-07-23 01:19:26 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-07-23 01:19:26 +0000 |
| commit | 64b98d1239fec86d1109cab51d128063b3cd568e (patch) | |
| tree | 566d99c009c43375059a45378347d4a52241d4cc | |
| parent | b591f3387a5b01d0419a5263cdba88193cdde0db (diff) | |
| download | emacs-64b98d1239fec86d1109cab51d128063b3cd568e.tar.gz emacs-64b98d1239fec86d1109cab51d128063b3cd568e.zip | |
(tags-query-replace): Set arg `map' of `perform-replace'
to `multi-query-replace-map'.
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/progmodes/etags.el | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 51ce3690812..6ea835e256a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2008-07-23 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * replace.el (multi-query-replace-map): New variable. | ||
| 4 | (perform-replace): Add processing of new multi-buffer keys bound | ||
| 5 | to `automatic-all' and `exit-current'. Set `query-flag' to nil | ||
| 6 | if last input char was `automatic-all'. Set new local variable | ||
| 7 | `multi-buffer' to t when one of new two keys were typed. Return | ||
| 8 | non-nil value of `multi-buffer' that tells to calling functions | ||
| 9 | to continue replacement on the next file. | ||
| 10 | |||
| 11 | * progmodes/etags.el (tags-query-replace): Set arg `map' of | ||
| 12 | `perform-replace' to `multi-query-replace-map'. | ||
| 13 | |||
| 1 | 2008-07-22 Stefan Monnier <monnier@iro.umontreal.ca> | 14 | 2008-07-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 15 | ||
| 3 | * diff-mode.el (diff-auto-refine-mode): Remove lighter, since it's | 16 | * diff-mode.el (diff-auto-refine-mode): Remove lighter, since it's |
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 4e4fdd63abf..a94780a7484 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1865,7 +1865,8 @@ See also the documentation of the variable `tags-file-name'." | |||
| 1865 | ;; to the beginning of it so perform-replace | 1865 | ;; to the beginning of it so perform-replace |
| 1866 | ;; will see it. | 1866 | ;; will see it. |
| 1867 | (goto-char (match-beginning 0)))) | 1867 | (goto-char (match-beginning 0)))) |
| 1868 | tags-loop-operate `(perform-replace ',from ',to t t ',delimited)) | 1868 | tags-loop-operate `(perform-replace ',from ',to t t ',delimited |
| 1869 | nil multi-query-replace-map)) | ||
| 1869 | (tags-loop-continue (or file-list-form t))) | 1870 | (tags-loop-continue (or file-list-form t))) |
| 1870 | 1871 | ||
| 1871 | (defun tags-complete-tags-table-file (string predicate what) ; Doc string? | 1872 | (defun tags-complete-tags-table-file (string predicate what) ; Doc string? |