Function: kmacro-menu-mark
kmacro-menu-mark is an interactive and byte-compiled function defined
in kmacro.el.gz.
Signature
(kmacro-menu-mark)
Documentation
Mark macros in the region or on the current line.
If there's an active region, mark macros in the region; otherwise mark the macro on the current line. If marking the current line, move point to the next line when done.
Marked macros can be operated on by kmacro-menu-do-copy and
kmacro-menu-do-delete.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/kmacro.el.gz
;;;; Commands for Marks and Flags
(defun kmacro-menu-mark ()
"Mark macros in the region or on the current line.
If there's an active region, mark macros in the region; otherwise mark
the macro on the current line. If marking the current line, move point
to the next line when done.
Marked macros can be operated on by `kmacro-menu-do-copy' and
`kmacro-menu-do-delete'."
(declare (modes kmacro-menu-mode))
(interactive nil kmacro-menu-mode)
(kmacro-menu--query-revert)
(kmacro-menu--do-region
(lambda (id)
(setf (alist-get (kmacro-menu--id-position id)
kmacro-menu--marks)
t)
(kmacro-menu--propertize-keys 'kmacro-menu-marked)
(tabulated-list-put-tag #("*" 0 1 (face kmacro-menu-mark))))))