Variable: multi-query-replace-map

multi-query-replace-map is a variable defined in replace.el.gz.

Value

Large value
!            automatic
,            act-and-show
.            act-and-exit
<backspace>  skip
<delete>     skip
<escape>     exit-prefix
<f1>         help
<help>       help
<next>       scroll-up
<prior>      scroll-down
<return>     exit
?            help
C-M-S-v      scroll-other-window-down
C-M-v        scroll-other-window
C-]          quit
C-g          quit
C-h          help
C-l          recenter
C-r          edit
C-v          scroll-up
C-w          delete-and-edit
DEL          skip
E            edit-replacement
M-<next>     scroll-other-window
M-<prior>    scroll-other-window-down
M-v          scroll-down
N            exit-current
N            skip
RET          exit
SPC          act
U            undo-all
Y            act
Y            automatic-all
^            backup
e            edit-replacement
n            skip
q            exit
u            undo
y            act

Documentation

Keymap that defines additional bindings for multi-buffer replacements.

It extends its parent map query-replace-map with new bindings to operate on a set of buffers/files. The difference with its parent map is the additional answers automatic-all to replace all remaining matches in all remaining buffers with no more questions, and exit-current to skip remaining matches in the current buffer and to continue with the next buffer in the sequence.

Probably introduced at or before Emacs version 23.1.

Source Code

;; Defined in /usr/src/emacs/lisp/replace.el.gz
(defvar multi-query-replace-map
  (let ((map (make-sparse-keymap)))
    (set-keymap-parent map query-replace-map)
    (define-key map "Y" 'automatic-all)
    (define-key map "N" 'exit-current)
    map)
  "Keymap that defines additional bindings for multi-buffer replacements.
It extends its parent map `query-replace-map' with new bindings to
operate on a set of buffers/files.  The difference with its parent map
is the additional answers `automatic-all' to replace all remaining
matches in all remaining buffers with no more questions, and
`exit-current' to skip remaining matches in the current buffer
and to continue with the next buffer in the sequence.")