unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: Tim Cross <theophilusx@gmail.com>,
	Lennart Borgman <lennart.borgman@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: [emacs-w3m:11603] Re: interactive-p obsolete
Date: Thu, 7 Jul 2011 15:41:30 +0200	[thread overview]
Message-ID: <CAAeL0SRw38goJMXS9qYE1kVNpyB=a5jUqFLzRZ36J3khGKbp3w@mail.gmail.com> (raw)
In-Reply-To: <4E15ACD7.2040008@online.de>

On Thu, Jul 7, 2011 at 14:55, Andreas Röhler <andreas.roehler@online.de> wrote:

> what will happen if the before-last line is execute with an element "kind"
> delivered as nil
>
>         `(with-no-warnings (called-interactively-p ,kind))
>
> as "kind" is optional in your macro, that might happen AFAIU
>
> Can't see called-interactively-p allows nil delivered as "kind".

`org-called-interactively-p' is a compatibility function, so meant to
be called like `called-interactively-p' is. Passing it nil is an
error, like it would be for `called-interactively-p'.

    Juanma



  reply	other threads:[~2011-07-07 13:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06  6:12 Fwd: [emacs-w3m:11603] Re: interactive-p obsolete Andreas Röhler
2011-07-06  7:09 ` Tim Cross
2011-07-06  8:54   ` Bastien
2011-07-06 18:16     ` Lennart Borgman
2011-07-06 18:33       ` Bastien
2011-07-06 22:51       ` Juanma Barranquero
2011-07-06 23:08         ` Lennart Borgman
2011-07-06 23:10           ` Juanma Barranquero
2011-07-06 23:16             ` Lennart Borgman
2011-07-06 23:32               ` Juanma Barranquero
2011-07-06 23:44                 ` Lennart Borgman
2011-07-06 23:47                   ` Juanma Barranquero
2011-07-06 23:57                     ` Lennart Borgman
2011-07-07  0:01                       ` Juanma Barranquero
2011-07-07  0:12                         ` Lennart Borgman
2011-07-07  0:32                           ` Juanma Barranquero
2011-07-07  0:44                             ` Lennart Borgman
2011-07-07  0:54                               ` Juanma Barranquero
2011-07-07 11:38                                 ` Bastien
2011-07-07 11:50                                   ` Lennart Borgman
2011-07-07 15:37                                     ` Stephen J. Turnbull
2011-07-06 11:22   ` Andreas Röhler
2011-07-07  0:06     ` Tim Cross
2011-07-07  6:52       ` Andreas Röhler
2011-07-07 11:36         ` Bastien
2011-07-07 12:55           ` Andreas Röhler
2011-07-07 13:41             ` Juanma Barranquero [this message]
2011-07-08  9:57             ` Bastien
2011-07-07 20:10 ` Fwd: " Stefan Monnier
2011-07-09  2:52   ` Tim Cross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAeL0SRw38goJMXS9qYE1kVNpyB=a5jUqFLzRZ36J3khGKbp3w@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=theophilusx@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).