[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-vars.el
From: |
Stefan Monnier |
Subject: |
Re: cc-vars.el |
Date: |
Thu, 21 Nov 2002 13:55:07 -0500 |
> There's already a macro to turn off warnings for variables: (defvar foo).
> I suggested to do the same for (defun bar), but IIRC Richard vetoed it
> because he thinks pragmas to turn off some warnings are just wrong.
>
> I don't think it is wrong necessarily. However, what would (defun bar)
> actually do? Would it be a magic flag just for the compiler?
Yes, just like (defvar foo): it wouldn't define the function but would
instead just declare that there exist such a function somewhere and
that the byte-compiler should consequently not emit any warning about it.
But it's more important to focus on the (if (fboundp ...) ...) case.
Stefan
- Re: cc-vars.el, (continued)
- Re: cc-vars.el, Stefan Monnier, 2002/11/20
- Re: cc-vars.el, Kim F. Storm, 2002/11/20
- Re: cc-vars.el, Stefan Monnier, 2002/11/20
- Re: cc-vars.el, Kim F. Storm, 2002/11/20
- Re: cc-vars.el, Dave Love, 2002/11/24
- Re: cc-vars.el, Dave Love, 2002/11/24
- Re: cc-vars.el, Miles Bader, 2002/11/20
- Re: cc-vars.el, Stefan Monnier, 2002/11/20
- Re: cc-vars.el, Martin Stjernholm, 2002/11/21
- Re: cc-vars.el, Richard Stallman, 2002/11/21
- Re: cc-vars.el,
Stefan Monnier <=
- Re: cc-vars.el, Martin Stjernholm, 2002/11/21
- Re: cc-vars.el, Dave Love, 2002/11/20
- Re: cc-vars.el, Dave Love, 2002/11/20
- Re: cc-vars.el, Dave Love, 2002/11/19
- Re: cc-vars.el, Richard Stallman, 2002/11/20
- Re: cc-vars.el, Dave Love, 2002/11/24
- Re: cc-vars.el, Miles Bader, 2002/11/20
- Re: cc-vars.el, Dave Love, 2002/11/24
- Re: cc-vars.el, Kai Großjohann, 2002/11/19
- Re: cc-vars.el, Dave Love, 2002/11/19