aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-10-22 16:44:37 +0000
committerDave Love1999-10-22 16:44:37 +0000
commit8f09e4402f75f9a297007b07d386b6790fa97509 (patch)
tree97a1ed0f904cb670bc66bcbc59002e04a921c62d
parentaf480bd8cb8f074c06ac6bd1f0e3e92f8effa2ed (diff)
downloademacs-8f09e4402f75f9a297007b07d386b6790fa97509.tar.gz
emacs-8f09e4402f75f9a297007b07d386b6790fa97509.zip
(mail-header-extract, mail-header-format): Doc fix.
-rw-r--r--lisp/mail/mailheader.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mail/mailheader.el b/lisp/mail/mailheader.el
index 8ec06d64f74..f859979ea09 100644
--- a/lisp/mail/mailheader.el
+++ b/lisp/mail/mailheader.el
@@ -63,7 +63,7 @@ that name."
63 (> (skip-chars-forward "^\0- :") 0) 63 (> (skip-chars-forward "^\0- :") 0)
64 (= (following-char) ?:) 64 (= (following-char) ?:)
65 (setq end (point)) 65 (setq end (point))
66 (progn (forward-char) 66 (progn (forward-char)
67 (> (skip-chars-forward " \t") 0))) 67 (> (skip-chars-forward " \t") 0)))
68 (let ((header (intern (downcase (buffer-substring start end)))) 68 (let ((header (intern (downcase (buffer-substring start end))))
69 (value (list (buffer-substring 69 (value (list (buffer-substring
@@ -109,7 +109,7 @@ value."
109 "Return the value associated with header HEADER in HEADER-ALIST. 109 "Return the value associated with header HEADER in HEADER-ALIST.
110If the value is a string, it is the original value of the header. If the 110If the value is a string, it is the original value of the header. If the
111value is a list, its first element is the original value of the header, 111value is a list, its first element is the original value of the header,
112with any subsequent elements bing the result of parsing the value. 112with any subsequent elements being the result of parsing the value.
113If HEADER-ALIST is nil, the dynamically bound variable `headers' is used." 113If HEADER-ALIST is nil, the dynamically bound variable `headers' is used."
114 (cdr (assq header (or header-alist headers)))) 114 (cdr (assq header (or header-alist headers))))
115 115
@@ -165,7 +165,7 @@ specified for a particular header field, the default action is to
165insert the value of the header, unless it is nil. 165insert the value of the header, unless it is nil.
166 166
167The headers are inserted in the order of the FORMAT-RULES. 167The headers are inserted in the order of the FORMAT-RULES.
168A key of t in FORMAT-RULES. represents any otherwise unmentioned headers. 168A key of t in FORMAT-RULES represents any otherwise unmentioned headers.
169A key of nil has as its value a list of defaulted headers to ignore." 169A key of nil has as its value a list of defaulted headers to ignore."
170 (let ((ignore (append (cdr (assq nil format-rules)) 170 (let ((ignore (append (cdr (assq nil format-rules))
171 (mapcar #'car format-rules)))) 171 (mapcar #'car format-rules))))