aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2003-09-22 15:16:10 +0000
committerRichard M. Stallman <[email protected]>2003-09-22 15:16:10 +0000
commit9dbd7d667468d1c162ded576e2eb19b9cb3e91da (patch)
tree3c1ca0e4b8bd8219703d26aba6080ea4bca1d0d8 /lisp/emacs-lisp
parent7cff48094efbf9417baefadecbeed27eca9f7745 (diff)
(byte-compile-log-file): Clear out byte-compile-last-warned-form.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 743ebea3c1..5b3a846cd2 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))