aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-04-13 22:20:11 +0000
committerRichard M. Stallman1995-04-13 22:20:11 +0000
commitca96ae0b8df62c05a308f60e008e19da63ab6793 (patch)
tree95b29387417e094980d0594b9ca8a0d15b919457
parent5ff436fbc59516ee412db76c50c16b33052f6735 (diff)
downloademacs-ca96ae0b8df62c05a308f60e008e19da63ab6793.tar.gz
emacs-ca96ae0b8df62c05a308f60e008e19da63ab6793.zip
(byte-compile-log-file): Always insert at eob.
(byte-compile-insert-header): Cope if user-mail-address is nil.
-rw-r--r--lisp/emacs-lisp/bytecomp.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 2bad3a7a863..e383dc13d37 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -776,6 +776,7 @@ otherwise pop it")
776 (and byte-compile-current-file (not noninteractive) 776 (and byte-compile-current-file (not noninteractive)
777 (save-excursion 777 (save-excursion
778 (set-buffer (get-buffer-create "*Compile-Log*")) 778 (set-buffer (get-buffer-create "*Compile-Log*"))
779 (goto-char (point-max))
779 (insert "\n\^L\nCompiling " 780 (insert "\n\^L\nCompiling "
780 (if (stringp byte-compile-current-file) 781 (if (stringp byte-compile-current-file)
781 (concat "file " byte-compile-current-file) 782 (concat "file " byte-compile-current-file)
@@ -1374,7 +1375,10 @@ With argument, insert value in current buffer after the form."
1374 (if (byte-compile-version-cond byte-compile-compatibility) 18 19) 1375 (if (byte-compile-version-cond byte-compile-compatibility) 18 19)
1375 "\000\000\000\n" 1376 "\000\000\000\n"
1376 ) 1377 )
1377 (insert ";;; compiled by " user-mail-address " on " 1378 (insert ";;; compiled by "
1379 (or user-mail-address
1380 (concat (user-login-name) "@" (system-name)))
1381 " on "
1378 (current-time-string) "\n;;; from file " filename "\n") 1382 (current-time-string) "\n;;; from file " filename "\n")
1379 (insert ";;; emacs version " emacs-version ".\n") 1383 (insert ";;; emacs version " emacs-version ".\n")
1380 (insert ";;; bytecomp version " byte-compile-version "\n;;; " 1384 (insert ";;; bytecomp version " byte-compile-version "\n;;; "