Function: repeat-check-map

repeat-check-map is a byte-compiled function defined in repeat.el.gz.

Signature

(repeat-check-map MAP)

Documentation

Decide whether MAP can be used for the next command.

Source Code

;; Defined in /usr/src/emacs/lisp/repeat.el.gz
(defun repeat-check-map (map)
  "Decide whether MAP can be used for the next command."
  (and map
       ;; Detect changes in the minibuffer state to allow repetitions
       ;; in the same minibuffer, but not when the minibuffer is activated
       ;; in the middle of repeating sequence (bug#47566).
       (or (< (minibuffer-depth) (car repeat--prev-mb))
           (eq current-minibuffer-command (cdr repeat--prev-mb)))
       (or (eq (repeat--command-property 'repeat-continue) t)
           (repeat-check-key last-command-event map))
       t))