From: Richard M. Stallman Date: Fri, 19 Sep 2003 14:29:42 +0000 (+0000) Subject: (byte-compile-warning-prefix): X-Git-Tag: ttn-vms-21-2-B4~8812 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2c0696b144c468d8ec3eb5eba8a24f176a9d417e;p=emacs.git (byte-compile-warning-prefix): Fix the condition for whether to print "In WHERE". --- diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 077c68523c2..743ebea3c1e 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.136 $") +(defconst byte-compile-version "$Revision: 2.137 $") ;; This file is part of GNU Emacs. @@ -929,7 +929,7 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property." (when (or (and byte-compile-current-file (not (equal byte-compile-current-file byte-compile-last-logged-file))) - (and byte-compile-last-warned-form + (and byte-compile-current-form (not (eq byte-compile-current-form byte-compile-last-warned-form)))) (insert (format "\nIn %s:\n" form)))