aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-10-08 17:41:03 -0700
committerGlenn Morris2010-10-08 17:41:03 -0700
commitc7d6d8a1ee9eaadb7d3ad40862fe602e95c4d839 (patch)
treeab24978adf96a9b865fc67fbdfb36bc87bd4c060
parenta653652edcdb496f9a2253ff492d5cf62e5da5ee (diff)
downloademacs-c7d6d8a1ee9eaadb7d3ad40862fe602e95c4d839.tar.gz
emacs-c7d6d8a1ee9eaadb7d3ad40862fe602e95c4d839.zip
* lisp/mail/mail-utils.el (mail-mbox-from): Also try return-path.
(Per 8-year old observation: http://lists.gnu.org/archive/html/bug-gnu-emacs/2002-06/msg00176.html )
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/mail/mail-utils.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 95a8287f005..0b10e2f3cc5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-10-09 Glenn Morris <rgm@gnu.org>
2
3 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4
12010-10-08 Glenn Morris <rgm@gnu.org> 52010-10-08 Glenn Morris <rgm@gnu.org>
2 6
3 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/. 7 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el
index 1c527f22113..a8def04100e 100644
--- a/lisp/mail/mail-utils.el
+++ b/lisp/mail/mail-utils.el
@@ -401,6 +401,7 @@ The buffer should be narrowed to just the header."
401 (let ((from (or (mail-fetch-field "from") 401 (let ((from (or (mail-fetch-field "from")
402 (mail-fetch-field "really-from") 402 (mail-fetch-field "really-from")
403 (mail-fetch-field "sender") 403 (mail-fetch-field "sender")
404 (mail-fetch-field "return-path")
404 "unknown")) 405 "unknown"))
405 (date (mail-fetch-field "date"))) 406 (date (mail-fetch-field "date")))
406 (format "From %s %s\n" (mail-strip-quoted-names from) 407 (format "From %s %s\n" (mail-strip-quoted-names from)
@@ -411,5 +412,4 @@ The buffer should be narrowed to just the header."
411 412
412(provide 'mail-utils) 413(provide 'mail-utils)
413 414
414;; arch-tag: b24aec2f-fd65-4ceb-9e39-3cc2827036fd
415;;; mail-utils.el ends here 415;;; mail-utils.el ends here