Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fc237647
Commit
fc237647
authored
May 28, 2003
by
Richard M. Stallman
Browse files
(with-no-warnings): New function.
parent
5af081d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
lisp/byte-run.el
lisp/byte-run.el
+6
-0
No files found.
lisp/byte-run.el
View file @
fc237647
...
...
@@ -131,6 +131,12 @@ The result of the body appears to the compiler as a quoted constant."
;; Remember, it's magic.
(
cons
'progn
body
))
(
defun
with-no-warnings
(
&optional
first
&rest
body
)
"Like `progn', but prevents compiler warnings in the body."
;; The implementation for the interpreter is basically trivial.
(
if
body
(
car
(
last
body
))
first
))
;;; I nuked this because it's not a good idea for users to think of using it.
;;; These options are a matter of installation preference, and have nothing to
...
...
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