]> git.eshelyaron.com Git - emacs.git/commitdiff
(byte-compile-no-warnings): Handle multiple args: compile like progn.
authorRichard M. Stallman <rms@gnu.org>
Wed, 21 Apr 2004 19:12:04 +0000 (19:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 21 Apr 2004 19:12:04 +0000 (19:12 +0000)
lisp/emacs-lisp/bytecomp.el

index 43e0732104f4936b60910ec7974e89c8f595bcf4..224fd366a41dadf6ac032c7c265fa8cdab7447d2 100644 (file)
@@ -3716,7 +3716,8 @@ being undefined will be suppressed."
 (byte-defop-compiler-1 with-no-warnings byte-compile-no-warnings)
 (defun byte-compile-no-warnings (form)
   (let (byte-compile-warnings)
-    (byte-compile-form (cadr form))))
+    (setcar form 'progn)
+    (byte-compile-form form)))
 \f
 ;;; tags