summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-08-29 14:49:48 +0000
committerRichard M. Stallman <rms@gnu.org>2002-08-29 14:49:48 +0000
commit8f876842caf3a513504f9df746f953eb38d3ac62 (patch)
treeb99d03e36c071a7bffed3dd86b22e23590ea939b /lisp/emacs-lisp
parentf76041d5f6900fbc51d53fcbd642a1e1170175b2 (diff)
downloademacs-8f876842caf3a513504f9df746f953eb38d3ac62.tar.gz
emacs-8f876842caf3a513504f9df746f953eb38d3ac62.tar.bz2
emacs-8f876842caf3a513504f9df746f953eb38d3ac62.zip
(byte-compile-log-file): Use \f.
(byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file to don't-warn list.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el19
1 files changed, 13 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index b70a79971b3..8dda1cf3fdd 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.108 $")
+(defconst byte-compile-version "$Revision: 2.109 $")
;; This file is part of GNU Emacs.
@@ -943,7 +943,7 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property."
(goto-char (point-max))
(insert "\n")
(let ((pt (point)))
- (insert "^L\nCompiling "
+ (insert "\f\nCompiling "
(if (stringp byte-compile-current-file)
(concat "file " byte-compile-current-file)
(concat "buffer " (buffer-name byte-compile-current-file)))
@@ -1230,10 +1230,10 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property."
'(cl-block-wrapper cl-block-throw
multiple-value-call nth-value
copy-seq first second rest endp cl-member
- ;; This is sometimes defined in CL
- ;; but that redefines a standard function,
- ;; so don't warn about it.
- macroexpand))))
+ ;; These would sometimes be warned about
+ ;; but such warnings are never useful,
+ ;; so don't warn about them.
+ macroexpand cl-macroexpand-all cl-compiling-file))))
(byte-compile-warn "Function `%s' from cl package called at runtime"
func)))
form)
@@ -1329,6 +1329,13 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property."
)
body)))
+;;; ;; Log the file name.
+;;; (let ((tem (byte-compile-log-file)))
+;;; ;; Record position of that text,
+;;; ;; unless we're compiling multiple files and this isn't the first.
+;;; (unless warning-series
+;;; (setq warning-series tem)))
+
(defmacro displaying-byte-compile-warnings (&rest body)
`(let (warning-series)
;; Log the file name. Record position of that text.