summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-04-21 19:12:04 +0000
committerRichard M. Stallman <rms@gnu.org>2004-04-21 19:12:04 +0000
commit4427945d48387a96bb045d1348b8d8efa4834ca4 (patch)
tree4f841974653481eb00f1ec575935f47cc6620e91 /lisp/emacs-lisp
parent51bf28bcd28033d0b344ff3c36fef3a92ab795b8 (diff)
downloademacs-4427945d48387a96bb045d1348b8d8efa4834ca4.tar.gz
(byte-compile-no-warnings): Handle multiple args: compile like progn.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 43e0732104f..224fd366a41 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -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)))
;;; tags