diff lisp/cl/cl-macs.el @ 96:dbb370e3c29e r20-0final

Import from CVS: tag r20-0final
author cvs
date Mon, 13 Aug 2007 09:12:40 +0200
parents 131b0175ea99
children 34a5b81f86ba
line wrap: on
line diff
--- a/lisp/cl/cl-macs.el	Mon Aug 13 09:12:11 2007 +0200
+++ b/lisp/cl/cl-macs.el	Mon Aug 13 09:12:40 2007 +0200
@@ -1399,7 +1399,10 @@
   (cond ((eq (car-safe spec) 'special)
 	 (if (boundp 'byte-compile-bound-variables)
 	     (setq byte-compile-bound-variables
-		   (append (cdr spec) byte-compile-bound-variables))))
+		   ;; todo: this should compute correct binding bits vs. 0
+		   (append (mapcar #'(lambda (v) (cons v 0)) 
+				   (cdr spec))
+			   byte-compile-bound-variables))))
 
 	((eq (car-safe spec) 'inline)
 	 (while (setq spec (cdr spec))