Function: kmacro-view-macro-repeat
kmacro-view-macro-repeat is an interactive and byte-compiled function
defined in kmacro.el.gz.
Signature
(kmacro-view-macro-repeat &optional ARG)
Documentation
Display the last keyboard macro.
If repeated, it shows previous elements in the macro ring.
To execute the displayed macro ring item without changing the macro ring,
just enter \C-k.
This is like kmacro-view-macro, but allows repeating macro commands
without repeating the prefix.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/kmacro.el.gz
(defun kmacro-view-macro-repeat (&optional arg)
"Display the last keyboard macro.
If repeated, it shows previous elements in the macro ring.
To execute the displayed macro ring item without changing the macro ring,
just enter \\`C-k'.
This is like `kmacro-view-macro', but allows repeating macro commands
without repeating the prefix."
(interactive)
(let ((keys (kmacro-get-repeat-prefix)))
(kmacro-view-macro arg)
(if (and last-kbd-macro keys)
(kmacro-repeat-on-last-key keys))))