summaryrefslogtreecommitdiff
path: root/email
diff options
context:
space:
mode:
authorArun Isaac2018-11-13 17:48:07 +0530
committerArun Isaac2018-11-13 17:48:07 +0530
commit45a88da4a544675ea42dc20011f4091950a1dcb3 (patch)
tree5fcba551bcf567de9b045cde6b599870d330fc42 /email
parentfa52eac55e5946db89621a6c583d2aa357864dee (diff)
downloadguile-email-45a88da4a544675ea42dc20011f4091950a1dcb3.tar.gz
guile-email-45a88da4a544675ea42dc20011f4091950a1dcb3.tar.lz
guile-email-45a88da4a544675ea42dc20011f4091950a1dcb3.zip
email: Fix typo in parse-email-address docstring.
* email/email.scm (parse-email-address): Fix typo in examples in parse-email-address docstring. The returned value must be an association list of pairs, not of lists.
Diffstat (limited to 'email')
-rw-r--r--email/email.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/email/email.scm b/email/email.scm
index 53840db..6ad2d93 100644
--- a/email/email.scm
+++ b/email/email.scm
@@ -631,9 +631,9 @@ are as defined in RFC5322.
For example,
(parse-email-address \"Foo <foo@example.org>\")
-=> ((name \"Foo\") (address \"foo@example.org\"))
+=> ((name . \"Foo\") (address . \"foo@example.org\"))
(parse-email-address \"foo@example.org\")
-=> ((address \"foo@example.org\"))"
+=> ((address . \"foo@example.org\"))"
(cond
((string-match "([^<]*)<([^>]*)>" address)
=> (lambda (match-record)