diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-04-21 19:12:04 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-04-21 19:12:04 +0000 |
commit | 0a0eb031ad22316fc25b80afbf1595e5bcdb59ac (patch) | |
tree | cc045fa3d29350734c4b12c1e51c4372a41c0f10 /lisp/emacs-lisp | |
parent | ae122ad2d485518df1708303fa7fe1556315e916 (diff) | |
download | emacs-0a0eb031ad22316fc25b80afbf1595e5bcdb59ac.tar.gz emacs-0a0eb031ad22316fc25b80afbf1595e5bcdb59ac.tar.bz2 emacs-0a0eb031ad22316fc25b80afbf1595e5bcdb59ac.zip |
(byte-compile-no-warnings): Handle multiple args: compile like progn.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 3 |
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 |