diff options
| author | Karl Heuer | 1996-07-11 23:59:24 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-07-11 23:59:24 +0000 |
| commit | b9cbdf4547556cb2184f389bd23546c80575d990 (patch) | |
| tree | d1d03b3cdf4f217d58d1c4ab9ceb7489f727e16d | |
| parent | 710a0f533a256334ccc4a72146112bfa44101046 (diff) | |
| download | emacs-b9cbdf4547556cb2184f389bd23546c80575d990.tar.gz emacs-b9cbdf4547556cb2184f389bd23546c80575d990.zip | |
(rmail-make-basic-summary-line):
If user-mail-address is nil, use alternative.
| -rw-r--r-- | lisp/mail/rmailsum.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index f2134f99934..f9152447733 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -365,7 +365,14 @@ nil for FUNCTION means all messages." | |||
| 365 | (if (string-match (concat "^\\(" | 365 | (if (string-match (concat "^\\(" |
| 366 | (regexp-quote (user-login-name)) | 366 | (regexp-quote (user-login-name)) |
| 367 | "\\($\\|@\\)\\|" | 367 | "\\($\\|@\\)\\|" |
| 368 | (regexp-quote user-mail-address) | 368 | (regexp-quote |
| 369 | ;; Don't lose if run from init file | ||
| 370 | ;; where user-mail-address is not | ||
| 371 | ;; set yet. | ||
| 372 | (or user-mail-address | ||
| 373 | (concat (user-login-name) "@" | ||
| 374 | (or mail-host-address | ||
| 375 | (system-name))))) | ||
| 369 | "\\>\\)") | 376 | "\\>\\)") |
| 370 | from) | 377 | from) |
| 371 | (save-excursion | 378 | (save-excursion |