From d88a739b6a9dddf6fca245e740a1f4ce9a1404bd Mon Sep 17 00:00:00 2001 From: kaoru Date: Sat, 2 Jan 2010 09:12:19 +0000 Subject: [PATCH] * wl-address.el (wl-address-header-extract-address) (wl-address-header-extract-realname): Fix mail-address in docstring. --- wl/ChangeLog | 4 ++++ wl/wl-address.el | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/wl/ChangeLog b/wl/ChangeLog index df0377b..0dc565b 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,5 +1,9 @@ 2010-01-02 TAKAHASHI Kaoru + * wl-address.el (wl-address-header-extract-address) + (wl-address-header-extract-realname): Fix mail-address in + docstring. + * wl-expire.el (wl-expire-make-sortable-date): Macro to inline-function. * wl-folder.el (wl-folder-unread-regex, wl-folder-buffer-group-p): diff --git a/wl/wl-address.el b/wl/wl-address.el index a0dfc1b..ec77db5 100644 --- a/wl/wl-address.el +++ b/wl/wl-address.el @@ -563,10 +563,10 @@ Refresh `wl-address-list', `wl-address-completion-list', and (defsubst wl-address-header-extract-address (str) "Extracts a real e-mail address from STR and return it. -e.g. \"Mine Sakurai \" - -> \"m-sakura@ccs.mt.nec.co.jp\". -e.g. \"m-sakura@ccs.mt.nec.co.jp (Mine Sakurai)\" - -> \"m-sakura@ccs.mt.nec.co.jp\"." +e.g. \"Mine Sakurai \" + -> \"m-sakura@example.org\". +e.g. \"m-sakura@example.org (Mine Sakurai)\" + -> \"m-sakura@example.org\"." (cond ((string-match ".*<\\([^>]*\\)>" str) ; .* to extract last <> (wl-match-string 1 str)) ((string-match "\\([^ \t\n]*@[^ \t\n]*\\)" str) @@ -575,7 +575,7 @@ e.g. \"m-sakura@ccs.mt.nec.co.jp (Mine Sakurai)\" (defsubst wl-address-header-extract-realname (str) "Extracts a real name from STR and return it. -e.g. \"Mr. bar \" +e.g. \"Mr. bar \" -> \"Mr. bar\"." (cond ((string-match "\\(.*[^ \t]\\)[ \t]*<[^>]*>" str) (wl-match-string 1 str)) -- 1.7.10.4