Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
27b903c5
Commit
27b903c5
authored
Jun 09, 2019
by
Lars Ingebrigtsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc touch up
parent
272a22eb
Pipeline
#1962
failed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
lisp/emacs-lisp/byte-run.el
lisp/emacs-lisp/byte-run.el
+12
-12
No files found.
lisp/emacs-lisp/byte-run.el
View file @
27b903c5
...
...
@@ -498,23 +498,23 @@ is enabled."
"Like `progn', but prevents compiler WARNINGS in BODY.
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
byte compilation warnings about the two obsolete functions `foo'
and `bar', a
nd the obsolete variable
`zot'
(
being called with the
wrong number of parameters
)
, say
and `bar', a
s well as the function
`zot' being called with the
wrong number of parameters, say
\(with-suppressed-warnings ((obsolete foo bar)
(callargs zot))
(foo)
(
bar
1 2))
The warnings that can be suppressed
is
a subset of the
list in
`byte-compile-warning-types'; see this for a fuller
explanation
of the
se
warning types. The types that can be
suppressed with
this macro
is
`free-vars', `callargs',
`redefine', `obsolete',
`interactive-only', `lexical', `mapcar',
`constants' and
`suspicious'.
(foo
(bar)
)
(
zot
1 2))
The warnings that can be suppressed
are
a subset of the
warnings
in
`byte-compile-warning-types'; see this
variable
for a fuller
explanation
of the warning types. The types that can be
suppressed with
this macro
are
`free-vars', `callargs',
`redefine', `obsolete',
`interactive-only', `lexical', `mapcar',
`constants' and
`suspicious'.
For the `mapcar' case, only the `mapcar' function can be used in
the symbol list. For `suspicious', only `set-buffer' can be used."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment