emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b38bc40: * lisp/mail/sendmail.el (mail-position-on-


From: Glenn Morris
Subject: [Emacs-diffs] master b38bc40: * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
Date: Wed, 27 May 2015 06:29:59 +0000

branch: master
commit b38bc40d692f39d00477d5691acaa1046c74623c
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
---
 lisp/mail/sendmail.el |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index ddd8697..2b9d8fa 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]