[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Getting a key's read syntax as a string
From: |
John Mastro |
Subject: |
Getting a key's read syntax as a string |
Date: |
Fri, 27 Mar 2015 19:22:54 -0700 |
Hello Emacsers,
Is there a programmatic way to get a string representing a
key-with-modifier's read syntax, given its integer value?
Perhaps more clearly, I'm looking for something that would work like
this:
(key-read-syntax ?\C-a) ;=> "?\C-a" or "C-a"
(key-read-syntax ?\M-f) ;=> "?\M-f" or "M-f"
I checked the manual but didn't come across anything.
Thanks
--
john
- Getting a key's read syntax as a string,
John Mastro <=