all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* called-interactively-p and edebug
@ 2011-02-01  8:43 Le Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Le Wang @ 2011-02-01  8:43 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

Hi

When I step through this function:

(defun foo ()
  (interactive)
  (when (called-interactively-p 'any)
    (message "Interactive!")
    'foo-called-interactively))

(called-interactively-p 'any) is nil even when called interactively.  Is
this a bug?


-- 
Le

[-- Attachment #2: Type: text/html, Size: 437 bytes --]

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

end of thread, other threads:[~2011-02-03  3:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1.1296549798.22589.help-gnu-emacs@gnu.org>
2011-02-01 17:00 ` called-interactively-p and edebug Stefan Monnier
2011-02-02  1:14   ` Le Wang
2011-02-03  3:58     ` Le Wang
2011-02-01  8:43 Le Wang

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.