Function: macro--string-to-vector
macro--string-to-vector is an autoloaded and byte-compiled function
defined in macros.el.gz.
Signature
(macro--string-to-vector STR)
Documentation
Convert an old-style string key sequence to the vector form.
Source Code
;; Defined in /usr/src/emacs/lisp/macros.el.gz
(defun macro--string-to-vector (str)
"Convert an old-style string key sequence to the vector form."
(let ((vec (string-to-vector str)))
(unless (multibyte-string-p str)
(dotimes (i (length vec))
(let ((k (aref vec i)))
(when (> k 127)
(setf (aref vec i) (+ k ?\M-\C-@ -128))))))
vec))