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

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

Re: standard popup menu


From: John Paul Wallington
Subject: Re: standard popup menu
Date: Sun, 13 Jul 2003 03:40:20 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Bruce Ingalls <bingalls@SpAmBlOcK.fit-zones.com> wrote:

> I was hoping for something like
>       (reverse-key-binding "undo")
> which results in C-_ or perhaps C-z, if remapped.

How about:

(defun bingalls-command-binding (cmd)
  (let ((key (where-is-internal cmd overriding-local-map t)))
    (if key (key-description key))))



reply via email to

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