all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to tell if a command was called from a menu?
@ 2009-08-15 14:04 Joost Kremers
  2009-08-15 15:07 ` Lennart Borgman
       [not found] ` <mailman.4631.1250348865.2239.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Joost Kremers @ 2009-08-15 14:04 UTC (permalink / raw)
  To: help-gnu-emacs

hi all,

is there a reliable way to tell in elisp if a command was called from a menu?
commands such as find-file and y-or-n-p behave differently when called from a
menu (they use a popup window instead of the minibuffer) but it seems that the
relevant check is done in the C part of the source...

TIA


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-17  8:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-15 14:04 How to tell if a command was called from a menu? Joost Kremers
2009-08-15 15:07 ` Lennart Borgman
     [not found] ` <mailman.4631.1250348865.2239.help-gnu-emacs@gnu.org>
2009-08-17  8:52   ` Joost Kremers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.