[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How does one tell when a command is executed from the minibuffer?
From: |
Alan Mackenzie |
Subject: |
How does one tell when a command is executed from the minibuffer? |
Date: |
Sat, 29 Nov 2014 18:57:25 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello, Emacs.
How does one tell when a command is executed from the minibuffer, e.g.
M-: (foo)
, as contrasted with executing it from a file, e.g. by loading that
file, or with C-M-x or C-x C-e?
Something like (current-buffer) ought to do it, but `current-buffer'
"lies" when the current buffer is actually the minibuffer.
--
Alan Mackenzie (Nuremberg, Germany).
- How does one tell when a command is executed from the minibuffer?,
Alan Mackenzie <=