Function: kmacro-reg-add-counter-less

kmacro-reg-add-counter-less is an interactive and byte-compiled function defined in kmacro.el.gz.

Signature

(kmacro-reg-add-counter-less &optional ARG)

Documentation

Increment counter by one if it is less than register value.

Prompt for the register to compare. Optional non-nil ARG specifies increment.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/kmacro.el.gz
(defun kmacro-reg-add-counter-less (&optional arg)
  "Increment counter by one if it is less than register value.
Prompt for the register to compare.
Optional non-nil ARG specifies increment."
  (interactive "p")
  (let
      ((register (register-read-with-preview "Compare counter to register: ")))
    (kmacro-reg-add-counter #'< register arg)))