aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 6a32bb10a36..dadce5b3d41 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -141,6 +141,9 @@ higher incidence of change, don't make sense to load into emacs'
141dumped image. Thus, the run-time load order is: 1. file described in 141dumped image. Thus, the run-time load order is: 1. file described in
142this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.") 142this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.")
143 143
144(defvar user-mail-address nil
145 "Full mailing address of this user.")
146
144(defvar init-file-debug nil) 147(defvar init-file-debug nil)
145 148
146(defvar init-file-had-error nil) 149(defvar init-file-had-error nil)
@@ -165,6 +168,7 @@ this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.")
165 (delete (concat "PWD=" pwd) 168 (delete (concat "PWD=" pwd)
166 process-environment))))))) 169 process-environment)))))))
167 (setq default-directory (abbreviate-file-name default-directory)) 170 (setq default-directory (abbreviate-file-name default-directory))
171 (setq user-mail-address (concat (user-login-name) "@" (system-name)))
168 (let ((menubar-bindings-done nil)) 172 (let ((menubar-bindings-done nil))
169 (unwind-protect 173 (unwind-protect
170 (command-line) 174 (command-line)