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: Robert Weiner
Subject: Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional
Date: Wed, 29 Jun 2016 17:48:20 -0400

On Wed, Jun 29, 2016 at 5:39 PM, Robert Weiner <address@hidden> wrote:
> would/did but the byte-compiler keeps telling me it is deprecated
> and I don't want to see that for this particular function.
> Is there a way to turn off such errors for particular functions?

I found the documentation on how to do this:

byte-compile-warnings is a variable defined in ‘bytecomp.el.gz’.
Its value is t

If the list begins with ‘not’, then the remaining elements specify warnings to
suppress.  For example, (not mapcar) will suppress warnings about mapcar.

So I can suppress the warnings locally and have nice looking code but
all installers of my packages will still have to look at the byte
compile warnings then.  I wonder if this could be set within the
*-pkg.el file for a package so that it applies to all users too.

Or I guess I could redefine called-interactively-p to take an optional
parameter inside my packages if John does not want to try that out
given this discussion.

Bob



reply via email to

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