unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* called-interactively-p
@ 2009-10-01 18:15 Stefan Monnier
  2009-10-02  3:59 ` called-interactively-p Juanma Barranquero
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2009-10-01 18:15 UTC (permalink / raw)
  To: emacs-devel

Following the discussion we had here around interactive-p and
called-interactively-p, I've just installed the following changes:
- called-interactively-p takes a parameter `kind' which can be
  either `interactive' or `any', the first corresponds to what
  interactive-p used to do and the second to what called-interactively-p
  used to do.
  The function still works if called without any argument, but the
  byte-compiler will complain about the missing argument (it's the best
  trade-off I could come up between breaking compatibility and
  enouraging people to pass as argument).
- interactive-p is marked obsolete.  This is not quite as simple as it
  sounds, because interactive-p has its own byte-code.  So we'll have to
  improve our "obsolescence" infrastructure if we want to handle this
  right.  For now, all the "make-obsolete" does in the end is to make
  C-h f tell you the function is obsolete, which seems good enough for
  now, especially given the 300 or so calls to interactive-p we still
  have in our own code.


-- Stefan




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

end of thread, other threads:[~2009-11-09 22:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01 18:15 called-interactively-p Stefan Monnier
2009-10-02  3:59 ` called-interactively-p Juanma Barranquero
2009-10-09  8:50   ` called-interactively-p Carsten Dominik
2009-11-05 15:22     ` called-interactively-p Carsten Dominik
2009-11-05 19:13       ` called-interactively-p Stefan Monnier
2009-11-06 11:09         ` called-interactively-p Andreas Roehler
2009-11-09 16:28         ` called-interactively-p Carsten Dominik
2009-11-09 22:00           ` called-interactively-p Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).