Changeset 4131 for trunk/lisp/startup.el
- Timestamp:
- 07/29/06 07:48:34 (2 years ago)
- Files:
-
- trunk/lisp/startup.el (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/startup.el
r4091 r4131 248 248 249 249 (defcustom user-mail-address (if command-line-processed 250 (concat (user-login-name) "@" 251 (or mail-host-address 252 (system-name))) 250 (or (getenv "EMAIL") 251 (concat (user-login-name) "@" 252 (or mail-host-address 253 (system-name)))) 253 254 ;; Empty string means "not set yet". 254 255 "") 255 256 "*Full mailing address of this user. 256 This is initialized based on `mail-host-address', 257 after your init file is read, in case it sets `mail-host-address'." 257 This is initialized with environment variable `EMAIL' or, as a 258 fallback, using `mail-host-address'. This is done after your 259 init file is read, in case it sets `mail-host-address'." 258 260 :type 'string 259 261 :group 'mail) … … 978 980 ;; Do this here in case the init file sets mail-host-address. 979 981 (if (equal user-mail-address "") 980 (setq user-mail-address (concat (user-login-name) "@" 981 (or mail-host-address 982 (system-name))))) 982 (setq user-mail-address (or (getenv "EMAIL") 983 (concat (user-login-name) "@" 984 (or mail-host-address 985 (system-name)))))) 983 986 984 987 ;; Originally face attributes were specified via
