Function: kmacro-menu--replace-at
kmacro-menu--replace-at is a byte-compiled function defined in
kmacro.el.gz.
Signature
(kmacro-menu--replace-at KMACRO N)
Documentation
Replace the keyboard macro at position N with KMACRO.
This function replaces all of the existing keyboard macros via
kmacro-menu--replace-all. Except for the macro at position N, which will
be KMACRO, the replacement macros are the existing macros identified in
the table.
Source Code
;; Defined in /usr/src/emacs/lisp/kmacro.el.gz
(defun kmacro-menu--replace-at (kmacro n)
"Replace the keyboard macro at position N with KMACRO.
This function replaces all of the existing keyboard macros via
`kmacro-menu--replace-all'. Except for the macro at position N, which will
be KMACRO, the replacement macros are the existing macros identified in
the table."
(kmacro-menu--replace-all
(kmacro-menu--map-ids (lambda (id)
(if (= n (kmacro-menu--id-position id))
kmacro
(kmacro-menu--id-kmacro id))))))