]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-make-basic-summary-line):
authorKarl Heuer <kwzh@gnu.org>
Thu, 21 Dec 1995 18:07:18 +0000 (18:07 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 21 Dec 1995 18:07:18 +0000 (18:07 +0000)
Recognize user-mail-address in From field means msg is from you.

lisp/mail/rmailsum.el

index 83ab968a654f7faf8b456eff5cd078f86baee30b..a3b2374f65859ab6dca02212b632f8f5fe93afbf 100644 (file)
@@ -348,9 +348,11 @@ nil for FUNCTION means all messages."
                               (skip-chars-backward " \t")
                               (point)))))
                      len mch lo)
-               (if (string-match (concat "^"
+               (if (string-match (concat "^\\("
                                          (regexp-quote (user-login-name))
-                                         "\\($\\|@\\)")
+                                         "\\($\\|@\\)\\|"
+                                         (regexp-quote user-mail-address)
+                                         "\\>\\)")
                                  from)
                    (save-excursion
                      (goto-char (point-min))