emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argume


From: John Wiegley
Subject: Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional
Date: Tue, 28 Jun 2016 12:09:23 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.95 (darwin)

>>>>> Robert Weiner <address@hidden> writes:

> I have some older code with a lot of calls to (interactive-p) for which I am
> having to substitute (called-interactively-p 'interactive) to get the same
> behavior with a non-obsoleted call. Visually, this does not read well to me
> and I imagine others. What do people think of making the argument optional
> and defaulting it to the behavior of (interactive-p) which I believe equates
> to the 'interactive argument value?

I like this suggestion; especially since (called-interactively-p 'interactive)
seems needlessly repetitive.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

Attachment: signature.asc
Description: PGP signature


reply via email to

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