emacs-devel
[Top][All Lists]
Advanced

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

Re: Need a predicate to tell whether a command was invoked from the menu


From: Robert Weiner
Subject: Re: Need a predicate to tell whether a command was invoked from the menu-bar
Date: Tue, 28 Jun 2016 20:24:05 -0400

On Tue, Jun 28, 2016 at 5:18 PM, Drew Adams <address@hidden> wrote:
> (and (> (length (this-command-keys-vector)) 0)
>      (equal '(menu-bar) (elt (this-command-keys-vector) 0))

Thanks, Drew.  I will try it out.

Bob



reply via email to

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