Function: kmacro-menu-edit-keys
kmacro-menu-edit-keys is an interactive and byte-compiled function
defined in kmacro.el.gz.
Signature
(kmacro-menu-edit-keys)
Documentation
Edit the keys of the keyboard macro at point via edmacro-mode.
See Info node (emacs) Edit Keyboard Macro for more information.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/kmacro.el.gz
(defun kmacro-menu-edit-keys ()
"Edit the keys of the keyboard macro at point via `edmacro-mode'.
See Info node `(emacs) Edit Keyboard Macro' 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* ((old-km (kmacro-menu--id-kmacro id)))
(edit-kbd-macro (kmacro--keys old-km)
nil
nil
(lambda (mac)
(kmacro-menu--replace-at
(kmacro mac
(kmacro--counter old-km)
(kmacro--format old-km))
(kmacro-menu--id-position id))
(tabulated-list-revert))))))