aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/bytecomp.el7
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a9cb5a519d0..93ae0f12862 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4 than 197 variables.
5
12012-03-26 Ami Fischman <ami@fischman.org> 62012-03-26 Ami Fischman <ami@fischman.org>
2 7
3 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking. 8 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 2ee878e5213..93c6518d215 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2694,7 +2694,8 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2694 (limits '(5 ; Use the 1-byte varref codes, 2694 (limits '(5 ; Use the 1-byte varref codes,
2695 63 ; 1-constlim ; 1-byte byte-constant codes, 2695 63 ; 1-constlim ; 1-byte byte-constant codes,
2696 255 ; 2-byte varref codes, 2696 255 ; 2-byte varref codes,
2697 65535)) ; 3-byte codes for the rest. 2697 65535 ; 3-byte codes for the rest.
2698 65535)) ; twice since we step when we swap.
2698 limit) 2699 limit)
2699 (while (or rest other) 2700 (while (or rest other)
2700 (setq limit (car limits)) 2701 (setq limit (car limits))
@@ -2708,8 +2709,8 @@ If FORM is a lambda or a macro, byte-compile it as a function."
2708 (setcdr (car rest) (setq i (1+ i))) 2709 (setcdr (car rest) (setq i (1+ i)))
2709 (setq ret (cons (car rest) ret)))) 2710 (setq ret (cons (car rest) ret))))
2710 (setq rest (cdr rest))) 2711 (setq rest (cdr rest)))
2711 (setq limits (cdr limits) 2712 (setq limits (cdr limits) ;Step
2712 rest (prog1 other 2713 rest (prog1 other ;&Swap.
2713 (setq other rest)))) 2714 (setq other rest))))
2714 (apply 'vector (nreverse (mapcar 'car ret))))) 2715 (apply 'vector (nreverse (mapcar 'car ret)))))
2715 2716