diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/feedmail.el | 3 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 9 | ||||
| -rw-r--r-- | lisp/mail/rmailsum.el | 9 |
3 files changed, 12 insertions, 9 deletions
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index 1402db40951..53791565bb1 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -2768,7 +2768,8 @@ return that value." | |||
| 2768 | ((eq t feedmail-from-line) | 2768 | ((eq t feedmail-from-line) |
| 2769 | (let ((feedmail-from-line | 2769 | (let ((feedmail-from-line |
| 2770 | (let ((at-stuff | 2770 | (let ((at-stuff |
| 2771 | (if user-mail-address user-mail-address | 2771 | (if (> (length user-mail-address) 0) |
| 2772 | user-mail-address | ||
| 2772 | (concat (user-login-name) "@" | 2773 | (concat (user-login-name) "@" |
| 2773 | (or mail-host-address (system-name)))))) | 2774 | (or mail-host-address (system-name)))))) |
| 2774 | (cond | 2775 | (cond |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index aeaba5862fc..695638fa062 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -2666,10 +2666,11 @@ Ask the user whether to add that list name to `mail-mailing-lists'." | |||
| 2666 | (regexp-quote (user-login-name)) | 2666 | (regexp-quote (user-login-name)) |
| 2667 | "\\($\\|@\\)\\|" | 2667 | "\\($\\|@\\)\\|" |
| 2668 | (regexp-quote | 2668 | (regexp-quote |
| 2669 | (or user-mail-address | 2669 | (if (> (length user-mail-address) 0) |
| 2670 | (concat (user-login-name) "@" | 2670 | user-mail-address |
| 2671 | (or mail-host-address | 2671 | (concat (user-login-name) "@" |
| 2672 | (system-name))))) | 2672 | (or mail-host-address |
| 2673 | (system-name))))) | ||
| 2673 | "\\>\\)")) | 2674 | "\\>\\)")) |
| 2674 | addr)) | 2675 | addr)) |
| 2675 | (y-or-n-p | 2676 | (y-or-n-p |
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 7c7c9f48e70..729538173a0 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -757,10 +757,11 @@ the message being processed." | |||
| 757 | ;; Don't lose if run from init file | 757 | ;; Don't lose if run from init file |
| 758 | ;; where user-mail-address is not | 758 | ;; where user-mail-address is not |
| 759 | ;; set yet. | 759 | ;; set yet. |
| 760 | (or user-mail-address | 760 | (if (> (length user-mail-address) 0) |
| 761 | (concat (user-login-name) "@" | 761 | user-mail-address |
| 762 | (or mail-host-address | 762 | (concat (user-login-name) "@" |
| 763 | (system-name))))) | 763 | (or mail-host-address |
| 764 | (system-name))))) | ||
| 764 | "\\>\\)")) | 765 | "\\>\\)")) |
| 765 | from)) | 766 | from)) |
| 766 | ;; No From field, or it's this user. | 767 | ;; No From field, or it's this user. |