Commit 9dbd7d66 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(byte-compile-log-file): Clear out byte-compile-last-warned-form.

parent 7cff4809
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment