From: Glenn Morris Date: Wed, 27 May 2015 06:29:51 +0000 (-0700) Subject: * lisp/mail/sendmail.el (mail-position-on-field): Doc fix. X-Git-Tag: emacs-25.0.90~1962 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b38bc40d692f39d00477d5691acaa1046c74623c;p=emacs.git * lisp/mail/sendmail.el (mail-position-on-field): Doc fix. --- diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index ddd8697dcd6..2b9d8facae3 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -1500,9 +1500,10 @@ just append to the file, in Babyl format if necessary." (insert "\nMail-Followup-To: ")))) (defun mail-position-on-field (field &optional soft) - "Move to the start of the contents of header field FIELD. -If there is none, insert one, unless SOFT is non-nil. -If there are multiple FIELD fields, this goes to the first." + "Move to the end of the contents of header field FIELD. +If there is no such header, insert one, unless SOFT is non-nil. +If there are multiple FIELD fields, this goes to the first. +Returns non-nil if FIELD was originally present." (let (end (case-fold-search t)) (setq end (mail-header-end))