Function: kmacro-menu-unmark

kmacro-menu-unmark is an interactive and byte-compiled function defined in kmacro.el.gz.

Signature

(kmacro-menu-unmark)

Documentation

Unmark and unflag macros in the region or on the current line.

If there's an active region, unmark and unflag macros in the region; otherwise unmark and unflag the macro on the current line. If there is no active region, move point to the next line when done.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/kmacro.el.gz
(defun kmacro-menu-unmark ()
  "Unmark and unflag macros in the region or on the current line.

If there's an active region, unmark and unflag macros in the region;
otherwise unmark and unflag the macro on the current line.  If there is
no active region, move point to the next line when done."
  (declare (modes kmacro-menu-mode))
  (interactive nil kmacro-menu-mode)
  (kmacro-menu--query-revert)
  (kmacro-menu--do-region
   (lambda (id)
     (let ((pos (kmacro-menu--id-position id)))
       (setf (alist-get pos kmacro-menu--deletion-flags) nil
             (alist-get pos kmacro-menu--marks) nil))
     (kmacro-menu--propertize-keys 'default)
     (tabulated-list-put-tag " "))))