Function: which-key-reload-key-sequence
which-key-reload-key-sequence is an autoloaded and byte-compiled
function defined in which-key.el.gz.
Signature
(which-key-reload-key-sequence &optional KEY-SEQ)
Documentation
Simulate entering the key sequence KEY-SEQ.
KEY-SEQ should be a list of events as produced by
listify-key-sequence. If nil, KEY-SEQ defaults to
which-key--current-key-list. Any prefix arguments that were
used are reapplied to the new key sequence.
Source Code
;; Defined in /usr/src/emacs/lisp/which-key.el.gz
;;; Paging functions
;;;###autoload
(defun which-key-reload-key-sequence (&optional key-seq)
"Simulate entering the key sequence KEY-SEQ.
KEY-SEQ should be a list of events as produced by
`listify-key-sequence'. If nil, KEY-SEQ defaults to
`which-key--current-key-list'. Any prefix arguments that were
used are reapplied to the new key sequence."
(let* ((key-seq (or key-seq (which-key--current-key-list)))
(next-event (mapcar (lambda (ev) (cons t ev)) key-seq)))
(setq prefix-arg current-prefix-arg
unread-command-events next-event)))