Function: kmacro-exec-ring-item
kmacro-exec-ring-item is an autoloaded and byte-compiled function
defined in kmacro.el.gz.
Signature
(kmacro-exec-ring-item ITEM ARG)
Documentation
Execute item ITEM from the macro ring.
ARG is the number of times to execute the item.
Source Code
;; Defined in /usr/src/emacs/lisp/kmacro.el.gz
;;;###autoload
(defun kmacro-exec-ring-item (item arg)
"Execute item ITEM from the macro ring.
ARG is the number of times to execute the item."
;; Use counter and format specific to the macro on the ring!
(let ((kmacro-counter (nth 1 item))
(kmacro-counter-format-start (nth 2 item)))
(execute-kbd-macro (car item) arg #'kmacro-loop-setup-function)
(setcar (cdr item) kmacro-counter)))