From b38bc40d692f39d00477d5691acaa1046c74623c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 26 May 2015 23:29:51 -0700 Subject: [PATCH] * lisp/mail/sendmail.el (mail-position-on-field): Doc fix. --- lisp/mail/sendmail.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)) -- 2.39.2