Function: repeat-check-key
repeat-check-key is a byte-compiled function defined in repeat.el.gz.
Signature
(repeat-check-key KEY MAP)
Documentation
Check if the last KEY is suitable for activating the repeating MAP.
Source Code
;; Defined in /usr/src/emacs/lisp/repeat.el.gz
(defun repeat-check-key (key map)
"Check if the last KEY is suitable for activating the repeating MAP."
(let* ((prop (repeat--command-property 'repeat-check-key))
(check-key (unless (eq prop 'no) (or prop repeat-check-key))))
(or (not check-key)
(lookup-key map (vector key))
;; Try without modifiers:
(lookup-key map (vector (event-basic-type key))))))