[Top][All Lists]

[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


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:
  (string-to-vector "M-x ")
  (string-to-vector "linum-mode ")
  (vector 'return)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]