Function: kmacro-menu-edit-format
kmacro-menu-edit-format is an interactive and byte-compiled function
defined in kmacro.el.gz.
Signature
(kmacro-menu-edit-format)
Documentation
Edit the counter format of the keyboard macro at point.
Valid counter formats are those for integers accepted by the function
format.
See the command kmacro-set-format and the Info node (emacs) Keyboard
Macro Counter for more information.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/kmacro.el.gz
(defun kmacro-menu-edit-format ()
"Edit the counter format of the keyboard macro at point.
Valid counter formats are those for integers accepted by the function
`format'.
See the command `kmacro-set-format' and the Info node `(emacs) Keyboard
Macro Counter' for more information."
(declare (modes kmacro-menu-mode))
(interactive nil kmacro-menu-mode)
(let ((id (tabulated-list-get-id)))
(kmacro-menu--assert-row id)
(kmacro-menu--query-revert)
(let ((km (kmacro-menu--id-kmacro id)))
(kmacro-menu--replace-at
(kmacro (kmacro--keys km)
(kmacro--counter km)
(read-string "New format: " nil nil
(list kmacro-default-counter-format
(kmacro--format km))))
(kmacro-menu--id-position id))
(tabulated-list-revert))))