From: yamaoka Date: Sat, 14 Jan 2006 05:45:40 +0000 (+0000) Subject: Synch to No Gnus 200601131944. X-Git-Tag: t-gnus-6_17_4-quimby-~152 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5835aa3205a79608e81c5534e73826f3d6823c03;p=elisp%2Fgnus.git- Synch to No Gnus 200601131944. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 45eb217..c876af2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2006-01-13 Romain Francoise + + * message.el (message-forward-subject-name-subject): Prefer the + address to 'nowhere' if the sender has no name. + Fix typo. Update copyright year. + 2006-01-13 Katsumi Yamaoka * gnus-art.el (article-wash-html): Use diff --git a/lisp/message.el b/lisp/message.el index 3496cb1..07d1cb0 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -1,7 +1,7 @@ ;;; message.el --- composing mail and news messages ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -;; 2005 Free Software Foundation, Inc. +;; 2005, 2006 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; MORIOKA Tomohiko @@ -6961,7 +6961,9 @@ news, Source is the list of newsgroups is was posted to." (gnus-group-decoded-name group) (or (and (setq from (message-fetch-field "from")) (car (std11-extract-address-components - (nnheader-decode-from from)))) + (nnheader-decode-from from))) + (cadr (std11-extract-address-components + (nnheader-decode-from from)))) "(nowhere)"))) "] " subject))