[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to tell if a command was called from a menu?
From: |
Joost Kremers |
Subject: |
How to tell if a command was called from a menu? |
Date: |
15 Aug 2009 14:04:34 GMT |
User-agent: |
slrn/0.9.9 (Linux) |
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)
- How to tell if a command was called from a menu?,
Joost Kremers <=