]> git.eshelyaron.com Git - emacs.git/commitdiff
(mh-send-letter, mh-insert-auto-fields): Sync docstrings with manual.
authorBill Wohler <wohler@newt.com>
Fri, 3 Mar 2006 20:02:10 +0000 (20:02 +0000)
committerBill Wohler <wohler@newt.com>
Fri, 3 Mar 2006 20:02:10 +0000 (20:02 +0000)
lisp/mh-e/ChangeLog
lisp/mh-e/mh-comp.el

index ed8cc726ddb51b8fc15609ddcfa781f9942f9dd9..61db56d47b2483eaa6e6550c24da5a8229738d6d 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-03  Bill Wohler  <wohler@newt.com>
+
+       * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
+       docstrings with manual.
+
 2006-03-02  Bill Wohler  <wohler@newt.com>
 
        * mh-folder.el (mh-tool-bar-init): Autoload.
index 5d2730f4afa9c81285f83b330bef668e97d079a2..0cedc83719cfa20a9df6db14caa941a2d45998c4 100644 (file)
@@ -230,6 +230,13 @@ The hook `mh-before-send-letter-hook' is run at the beginning of
 this command. For example, if you want to check your spelling in
 your message before sending, add the function `ispell-message'.
 
+Unless `mh-insert-auto-fields' had previously been called
+manually, the function `mh-insert-auto-fields' is called to
+insert fields based upon the recipients. If fields are added, you
+are given a chance to see and to confirm these fields before the
+message is actually sent. You can do away with this confirmation
+by turning off the option `mh-auto-fields-prompt-flag'.
+
 In case the MH \"send\" program is installed under a different name,
 use `mh-send-prog' to tell MH-E the name."
   (interactive "P")
@@ -979,14 +986,16 @@ sequence."
 (defun mh-insert-auto-fields (&optional non-interactive)
   "Insert custom fields if recipient is found in `mh-auto-fields-list'.
 
-Sets buffer-local `mh-insert-auto-fields-done-local' if header
-fields were added. If NON-INTERACTIVE is non-nil, perform actions
-quietly and only if `mh-insert-auto-fields-done-local' is nil.
-
-An `identity' entry is skipped if one was already entered
-manually.
+Once the header contains one or more recipients, you may run this
+command to insert these fields manually. However, if you use this
+command, the automatic insertion when the message is sent is
+disabled.
 
-Return t if fields added; otherwise return nil."
+In a program, set buffer-local `mh-insert-auto-fields-done-local'
+if header fields were added. If NON-INTERACTIVE is non-nil,
+perform actions quietly and only if
+`mh-insert-auto-fields-done-local' is nil. Return t if fields
+added; otherwise return nil."
   (interactive)
   (when (or (not non-interactive)
             (not mh-insert-auto-fields-done-local))