Commit ae122ad2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(with-no-warnings): Simplify: take all args as &rest arg.

parent 12148b0e
......@@ -134,11 +134,10 @@ 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)
(defun with-no-warnings (&rest body)
"Like `progn', but prevents compiler warnings in the body."
;; The implementation for the interpreter is basically trivial.
(if body (car (last body))
(car (last body)))
;;; I nuked this because it's not a good idea for users to think of using it.
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