help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String to Vector


From: Johan Andersson
Subject: Re: String to Vector
Date: Wed, 3 Feb 2010 22:05:06 +0000

Thats true. How come I didn't think of that...  Thanks

On Wed, Feb 3, 2010 at 7:40 PM, Stefan Monnier <address@hidden> wrote:
> How can I convert for example the string: "M-x" to the vector: "[?\M-x]"?

(kbd "M-x")  =>  [?\M-x]  (which gets printed as [134217848])


       Stefan


reply via email to

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