mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 11:21:04 -08:00
(mail-fetch-field): Doc fix.
This commit is contained in:
parent
603c5d8d67
commit
78f086e42c
1 changed files with 5 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
;;; mail-utils.el --- utility functions used both by rmail and rnews
|
;;; mail-utils.el --- utility functions used both by rmail and rnews
|
||||||
|
|
||||||
;; Copyright (C) 1985, 2001, 2002, 2003, 2004,
|
;; Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
|
||||||
;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
;; 2009 Free Software Foundation, Inc.
|
||||||
|
|
||||||
;; Maintainer: FSF
|
;; Maintainer: FSF
|
||||||
;; Keywords: mail, news
|
;; Keywords: mail, news
|
||||||
|
|
@ -302,10 +302,11 @@ the comma-separated list. The pruned list is returned."
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun mail-fetch-field (field-name &optional last all list)
|
(defun mail-fetch-field (field-name &optional last all list)
|
||||||
"Return the value of the header field whose type is FIELD-NAME.
|
"Return the value of the header field whose type is FIELD-NAME.
|
||||||
The buffer is expected to be narrowed to just the header of the message.
|
|
||||||
If second arg LAST is non-nil, use the last field of type FIELD-NAME.
|
If second arg LAST is non-nil, use the last field of type FIELD-NAME.
|
||||||
If third arg ALL is non-nil, concatenate all such fields with commas between.
|
If third arg ALL is non-nil, concatenate all such fields with commas between.
|
||||||
If 4th arg LIST is non-nil, return a list of all such fields."
|
If 4th arg LIST is non-nil, return a list of all such fields.
|
||||||
|
The header must be at the start of the buffer. If any of the optional
|
||||||
|
arguments are used, the buffer should be narrowed to just the header."
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(let ((case-fold-search t)
|
(let ((case-fold-search t)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue