# HG changeset patch # User Stefan Monnier # Date 1050183590 0 # Node ID e80e4ccf1bfca04c2451d2a841949adf1f46652b # Parent c62614cbc500a81df485e3a04dffc2397834f3e0 (byte-compile-file-form-defvar, byte-compile-defvar): Fix last commit which mistakenly relied on not-yet committed code. diff -r c62614cbc500 -r e80e4ccf1bfc lisp/emacs-lisp/bytecomp.el --- a/lisp/emacs-lisp/bytecomp.el Sat Apr 12 20:43:58 2003 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Sat Apr 12 21:39:50 2003 +0000 @@ -10,7 +10,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.122 $") +(defconst byte-compile-version "$Revision: 2.123 $") ;; This file is part of GNU Emacs. @@ -2065,7 +2065,7 @@ ;; and not do a file-boundary. (byte-compile-keep-pending form) (when (memq 'free-vars byte-compile-warnings) - (push (nth 1 form) byte-compile-dynamic-variables) + (push (nth 1 form) byte-compile-bound-variables) (if (eq (car form) 'defconst) (push (nth 1 form) byte-compile-const-variables))) (cond ((consp (nth 2 form)) @@ -3561,7 +3561,7 @@ "%s called with %d arguments, but accepts only %s" fun (length (cdr form)) "2-3")) (when (memq 'free-vars byte-compile-warnings) - (push var byte-compile-dynamic-variables) + (push var byte-compile-bound-variables) (if (eq fun 'defconst) (push var byte-compile-const-variables))) (byte-compile-body-do-effect