[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-w3m:11603] Re: interactive-p obsolete

From: Bastien
Subject: Re: [emacs-w3m:11603] Re: interactive-p obsolete
Date: Wed, 06 Jul 2011 20:33:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

>> (defmacro org-called-interactively-p (&optional kind)
>>  (if (featurep 'xemacs)
>>       `(interactive-p)
>>     (if (or (> emacs-major-version 23)
>>             (and (>= emacs-major-version 23)
>>                  (>= emacs-minor-version 2)))
>>         `(with-no-warnings (called-interactively-p ,kind))
>>       `(interactive-p))))
> Why not add such a macro to Emacs?

I'm focusing on Org, but yes, people could add this to Emacs if useful.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]