mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-08 20:58:58 +00:00
(byte-compile-log-file): Clear out byte-compile-last-warned-form.
This commit is contained in:
parent
7cff48094e
commit
9dbd7d6674
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user