Function: edmacro-parse-keys
edmacro-parse-keys is a byte-compiled function defined in
edmacro.el.gz.
Signature
(edmacro-parse-keys STRING &optional NEED-VECTOR)
Source Code
;; Defined in /usr/src/emacs/lisp/edmacro.el.gz
;;; Parsing a human-readable keyboard macro.
(defun edmacro-parse-keys (string &optional _need-vector)
(let ((result (kbd string)))
;; Always return a vector. Stefan Monnier <monnier@iro.umontreal.ca>
;; writes: "I want to eliminate the use of strings that stand for a
;; sequence of events because it does nothing more than leave latent
;; bugs and create confusion (between the strings used as input to
;; `read-kbd-macro' and the strings that used to be output by
;; `read-kbd-macro'), while increasing the complexity of the rest of
;; the code which has to handle both vectors and strings."
(if (stringp result)
(seq-into result 'vector)
result)))