[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
String to Vector
From: |
Johan Andersson |
Subject: |
String to Vector |
Date: |
Wed, 3 Feb 2010 17:40:27 +0000 |
Hi,
How can I convert for example the string: "M-x" to the vector: "[?\M-x]"?
(string-to-vector "M-x") will not give me the correct vector. I will give me the vector for each part of the string.
I want to do something like this:
(execute-kbd-macro
(vconcat
(string-to-vector "M-x ")
(string-to-vector "linum-mode ")
(vector 'return)))
- String to Vector,
Johan Andersson <=