Commit b9cbdf45 authored by Karl Heuer's avatar Karl Heuer
Browse files


If user-mail-address is nil, use alternative.
parent 710a0f53
......@@ -365,7 +365,14 @@ nil for FUNCTION means all messages."
(if (string-match (concat "^\\("
(regexp-quote (user-login-name))
(regexp-quote user-mail-address)
;; Don't lose if run from init file
;; where user-mail-address is not
;; set yet.
(or user-mail-address
(concat (user-login-name) "@"
(or mail-host-address
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment