[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp-compat-funcall -> compat-funcall?
From: |
Michael Albinus |
Subject: |
Re: tramp-compat-funcall -> compat-funcall? |
Date: |
Sat, 24 Sep 2016 17:39:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> There's (if (fboundp '<foo>) (<foo> <bar>)) already (which is much
>> Your code snippet misses the `with-no-warnings' umbrella.
>
> No, it doesn't: the byte-compiler understands the the if+fboundp means
> that any call to this function in the branch is "safe" and it won't
> signal a warning. That's my point.
With Emacs 25, yes. But there are still warnings when compiling with
Emacs 23, I believe.
> Stefan
Best regards, Michael.
- tramp-compat-funcall -> compat-funcall?, Ted Zlatanov, 2016/09/22
- Re: tramp-compat-funcall -> compat-funcall?, Ted Zlatanov, 2016/09/22
- Re: tramp-compat-funcall -> compat-funcall?, Stefan Monnier, 2016/09/23
- Re: tramp-compat-funcall -> compat-funcall?, Michael Albinus, 2016/09/24
- Re: tramp-compat-funcall -> compat-funcall?, Stefan Monnier, 2016/09/24
- Re: tramp-compat-funcall -> compat-funcall?,
Michael Albinus <=
- Re: tramp-compat-funcall -> compat-funcall?, Stefan Monnier, 2016/09/24
- Re: tramp-compat-funcall -> compat-funcall?, Michael Albinus, 2016/09/25
- Re: tramp-compat-funcall -> compat-funcall?, Stefan Monnier, 2016/09/25
- Re: tramp-compat-funcall -> compat-funcall?, Ted Zlatanov, 2016/09/25
- Re: tramp-compat-funcall -> compat-funcall?, Ted Zlatanov, 2016/09/24
- Re: tramp-compat-funcall -> compat-funcall?, Stefan Monnier, 2016/09/25