[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: identifying meta-key bound functions from last-command-char?
From: |
Miles Bader |
Subject: |
Re: identifying meta-key bound functions from last-command-char? |
Date: |
Tue, 26 Feb 2008 15:08:38 +0900 |
"Ken Manheimer" <address@hidden> writes:
> the problem is that, for meta-modified keys,
>
> (characterp last-command-char) => nil
>
> this breaks an approach like:
>
> (key-binding (char-to-string last-command-char))
It wants a vector, so give it a vector:
(key-binding (vector last-command-char))
-Miles
--
Discriminate, v.i. To note the particulars in which one person or thing is,
if possible, more objectionable than another.