Variable: repeat-on-final-keystroke

repeat-on-final-keystroke is a customizable variable defined in repeat.el.gz.

Value

t

Documentation

Allow repeat to re-execute for repeating lastchar of a key sequence.

If this variable is t, repeat determines what key sequence it was invoked by, extracts the final character of that sequence, and re-executes as many times as that final character is hit; so for example if repeat is bound to C-x z, typing C-x z z z repeats the previous command
3 times. If this variable is a sequence of characters, then re-execution
only occurs if the final character by which repeat was invoked is a member of that sequence. If this variable is nil, no re-execution occurs.

Source Code

;; Defined in /usr/src/emacs/lisp/repeat.el.gz
(defcustom repeat-on-final-keystroke t
  "Allow `repeat' to re-execute for repeating lastchar of a key sequence.
If this variable is t, `repeat' determines what key sequence
it was invoked by, extracts the final character of that sequence, and
re-executes as many times as that final character is hit; so for example
if `repeat' is bound to C-x z, typing C-x z z z repeats the previous command
3 times.  If this variable is a sequence of characters, then re-execution
only occurs if the final character by which `repeat' was invoked is a
member of that sequence.  If this variable is nil, no re-execution occurs."
  :group 'repeat
  :type '(choice (const :tag "Repeat for all keys" t)
		 (const :tag "Don't repeat" nil)
		 (sexp :tag "Repeat for specific keys")))