From: Richard M. Stallman Date: Mon, 22 Sep 2003 15:16:10 +0000 (+0000) Subject: (byte-compile-log-file): Clear out byte-compile-last-warned-form. X-Git-Tag: ttn-vms-21-2-B4~8783 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9dbd7d667468d1c162ded576e2eb19b9cb3e91da;p=emacs.git (byte-compile-log-file): Clear out byte-compile-last-warned-form. --- diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 743ebea3c1e..5b3a846cd2f 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -10,7 +10,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.137 $") +(defconst byte-compile-version "$Revision: 2.138 $") ;; This file is part of GNU Emacs. @@ -975,7 +975,8 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property." (setq default-directory dir) (unless was-same (insert (format "Entering directory `%s'\n" default-directory)))) - (setq byte-compile-last-logged-file byte-compile-current-file) + (setq byte-compile-last-logged-file byte-compile-current-file + byte-compile-last-warned-form nil) ;; Do this after setting default-directory. (unless (eq major-mode 'compilation-mode) (compilation-mode))