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

(rmail-make-basic-summary-line):

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)
(regexp-quote
;; 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
(system-name)))))
"\\>\\)")
from)
(save-excursion
......
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