changeset 1882:83fc53d66a31

(byte-compile-lambda): Test of byte-compile-compatibility was backwards.
author Richard M. Stallman <rms@gnu.org>
date Wed, 17 Feb 1993 20:29:57 +0000
parents 436edc3e74f6
children b707809f29bb
files lisp/emacs-lisp/bytecomp.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el	Tue Feb 16 06:36:30 1993 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Wed Feb 17 20:29:57 1993 +0000
@@ -1681,9 +1681,10 @@
 		  (byte-compile-warn "malformed interactive spec: %s"
 				     (prin1-to-string int))))))
     (let ((compiled (byte-compile-top-level (cons 'progn body) nil 'lambda)))
+      (setq foo compiled)
       (if (and (eq 'byte-code (car-safe compiled))
-	       (byte-compile-version-cond
-		byte-compile-compatibility))
+	       (not (byte-compile-version-cond
+		     byte-compile-compatibility)))
 	  (apply 'make-byte-code
 		 (append (list arglist)
 			 ;; byte-string, constants-vector, stack depth