summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-15 23:01:17 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-15 23:01:17 +0000
commit09bc9531d918220dabff9d1f2ffddd0df81e08b6 (patch)
treea01268643043a62eda483f021cc38e6c81227834 /lisp/emacs-lisp/bytecomp.el
parentbcde3748c6627f312397907fc87f6666fe695ddb (diff)
downloademacs-09bc9531d918220dabff9d1f2ffddd0df81e08b6.tar.gz
emacs-09bc9531d918220dabff9d1f2ffddd0df81e08b6.tar.bz2
emacs-09bc9531d918220dabff9d1f2ffddd0df81e08b6.zip
(byte-compile-insert-header): Cope if user-mail-address is unbound.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 333fde26491..b368f40e3bf 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1376,7 +1376,7 @@ With argument, insert value in current buffer after the form."
"\000\000\000\n"
)
(insert ";;; compiled by "
- (or user-mail-address
+ (or (and (boundp 'user-mail-address) user-mail-address)
(concat (user-login-name) "@" (system-name)))
" on "
(current-time-string) "\n;;; from file " filename "\n")