mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
(Compiler Errors): if-boundp feature applies to cond.
This commit is contained in:
parent
516db1181e
commit
5c5114b7ec
@ -448,9 +448,11 @@ function @var{func} by conditionalizing the function call on a
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
The call to @var{func} must be in the @var{then-form} of the @code{if},
|
||||
and @var{func} must appear quoted in the call to @code{fboundp}.
|
||||
Likewise, you can suppress a compiler warning for an unbound variable
|
||||
The call to @var{func} must be in the @var{then-form} of the
|
||||
@code{if}, and @var{func} must appear quoted in the call to
|
||||
@code{fboundp}. (This feature operates for @code{cond} as well.)
|
||||
|
||||
Likewise, you can suppress a compiler warning for an unbound variable
|
||||
@var{variable} by conditionalizing its use on a @code{boundp} test,
|
||||
like this:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user