[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
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, (continued)
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, John Wiegley, 2016/06/28
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Glenn Morris, 2016/06/28
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Robert Weiner, 2016/06/28
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Robert Weiner, 2016/06/28
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Richard Stallman, 2016/06/29
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Robert Weiner, 2016/06/29
- RE: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Drew Adams, 2016/06/29
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Robert Weiner, 2016/06/29
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional,
Robert Weiner <=
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Richard Stallman, 2016/06/30
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Clément Pit--Claudel, 2016/06/29
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Dmitry Gutov, 2016/06/29
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Robert Weiner, 2016/06/29
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, raman, 2016/06/29
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Robert Weiner, 2016/06/30
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, Eli Zaretskii, 2016/06/30
- Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional, raman, 2016/06/30