[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does one tell when a command is executed from the minibuffer?
From: |
Andreas Schwab |
Subject: |
Re: How does one tell when a command is executed from the minibuffer? |
Date: |
Sat, 29 Nov 2014 20:21:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Alan Mackenzie <address@hidden> writes:
> 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?
There is no such thing as "executed from the minibuffer". The
expression may be *read* from the minibuffer, but that happens before
eval-expression is called to evaluate the expression.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."