|
From: | Emanuel Berg |
Subject: | Re: Is there a way to convert a keyboard macro to a string? |
Date: | Wed, 26 Jul 2017 08:41:28 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Marcin Borkowski wrote: > execute-kbd-macro accepts a string as MACRO. > However, if I record a macro using F3 ... F4 > and look at last-kbd-macro, it is a vector > and not a string. How do I convert it to > a string representing the same key sequence? (setq *test-vector* #[1 2 3 4]) (string-join (cl-loop for e across *test-vector* collecting (format "%s" e))) ; "1234" Battlecruiser operational? -- underground experts united http://user.it.uu.se/~embe8573
[Prev in Thread] | Current Thread | [Next in Thread] |