|
From: | Michael Heerdegen |
Subject: | bug#25117: 25.1.90; Result of called-interactively-p differs WRT file contents |
Date: | Mon, 05 Dec 2016 17:18:45 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Andreas Röhler <andreas.roehler@easy-emacs.de> writes: > (defun foo () > (interactive) > (let ((iact (called-interactively-p 'any))) > (message "%s" iact))) > > > Code above returns t when run in an otherwise empty buffer. > However when evaluated inside > > https://github.com/emacs-berlin/syntactic-close/blob/master/syntactic-close.el > > it returns nil. Checked at the beginning resp. end of this file. What does "when evaluated inside" mean? Can you give a more concrete recipe? Regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |