Commit 27b903c5 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Doc touch up

parent 272a22eb
Pipeline #1962 failed with stage
in 4 seconds
...@@ -498,23 +498,23 @@ is enabled." ...@@ -498,23 +498,23 @@ is enabled."
"Like `progn', but prevents compiler WARNINGS in BODY. "Like `progn', but prevents compiler WARNINGS in BODY.
WARNINGS is an associative list where the first element of each WARNINGS is an associative list where the first element of each
list is a warning type, and the rest of the elements in each list item is a warning type, and the rest of the elements in each item
are symbols they apply to. For instance, if you want to suppress are symbols they apply to. For instance, if you want to suppress
byte compilation warnings about the two obsolete functions `foo' byte compilation warnings about the two obsolete functions `foo'
and `bar', and the obsolete variable `zot' (being called with the and `bar', as well as the function `zot' being called with the
wrong number of parameters), say wrong number of parameters, say
\(with-suppressed-warnings ((obsolete foo bar) \(with-suppressed-warnings ((obsolete foo bar)
(callargs zot)) (callargs zot))
(foo) (foo (bar))
(bar 1 2)) (zot 1 2))
The warnings that can be suppressed is a subset of the list in The warnings that can be suppressed are a subset of the warnings
`byte-compile-warning-types'; see this for a fuller explanation in `byte-compile-warning-types'; see this variable for a fuller
of these warning types. The types that can be suppressed with explanation of the warning types. The types that can be
this macro is `free-vars', `callargs', `redefine', `obsolete', suppressed with this macro are `free-vars', `callargs',
`interactive-only', `lexical', `mapcar', `constants' and `redefine', `obsolete', `interactive-only', `lexical', `mapcar',
`suspicious'. `constants' and `suspicious'.
For the `mapcar' case, only the `mapcar' function can be used in For the `mapcar' case, only the `mapcar' function can be used in
the symbol list. For `suspicious', only `set-buffer' can be used." the symbol list. For `suspicious', only `set-buffer' can be used."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment