aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2006-03-03 20:02:10 +0000
committerBill Wohler2006-03-03 20:02:10 +0000
commit3fbc098da9e1e5257bb7bcb219cf05c8a406b52e (patch)
treecd1a620fc25af27a8ce8d250570a8850cf024593
parent4a2c4459285d0b726a0b1bc25317d4695c99c852 (diff)
downloademacs-3fbc098da9e1e5257bb7bcb219cf05c8a406b52e.tar.gz
emacs-3fbc098da9e1e5257bb7bcb219cf05c8a406b52e.zip
(mh-send-letter, mh-insert-auto-fields): Sync docstrings with manual.
-rw-r--r--lisp/mh-e/ChangeLog5
-rw-r--r--lisp/mh-e/mh-comp.el23
2 files changed, 21 insertions, 7 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index ed8cc726ddb..61db56d47b2 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,8 @@
12006-03-03 Bill Wohler <wohler@newt.com>
2
3 * mh-comp.el (mh-send-letter, mh-insert-auto-fields): Sync
4 docstrings with manual.
5
12006-03-02 Bill Wohler <wohler@newt.com> 62006-03-02 Bill Wohler <wohler@newt.com>
2 7
3 * mh-folder.el (mh-tool-bar-init): Autoload. 8 * mh-folder.el (mh-tool-bar-init): Autoload.
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el
index 5d2730f4afa..0cedc83719c 100644
--- a/lisp/mh-e/mh-comp.el
+++ b/lisp/mh-e/mh-comp.el
@@ -230,6 +230,13 @@ The hook `mh-before-send-letter-hook' is run at the beginning of
230this command. For example, if you want to check your spelling in 230this command. For example, if you want to check your spelling in
231your message before sending, add the function `ispell-message'. 231your message before sending, add the function `ispell-message'.
232 232
233Unless `mh-insert-auto-fields' had previously been called
234manually, the function `mh-insert-auto-fields' is called to
235insert fields based upon the recipients. If fields are added, you
236are given a chance to see and to confirm these fields before the
237message is actually sent. You can do away with this confirmation
238by turning off the option `mh-auto-fields-prompt-flag'.
239
233In case the MH \"send\" program is installed under a different name, 240In case the MH \"send\" program is installed under a different name,
234use `mh-send-prog' to tell MH-E the name." 241use `mh-send-prog' to tell MH-E the name."
235 (interactive "P") 242 (interactive "P")
@@ -979,14 +986,16 @@ sequence."
979(defun mh-insert-auto-fields (&optional non-interactive) 986(defun mh-insert-auto-fields (&optional non-interactive)
980 "Insert custom fields if recipient is found in `mh-auto-fields-list'. 987 "Insert custom fields if recipient is found in `mh-auto-fields-list'.
981 988
982Sets buffer-local `mh-insert-auto-fields-done-local' if header 989Once the header contains one or more recipients, you may run this
983fields were added. If NON-INTERACTIVE is non-nil, perform actions 990command to insert these fields manually. However, if you use this
984quietly and only if `mh-insert-auto-fields-done-local' is nil. 991command, the automatic insertion when the message is sent is
985 992disabled.
986An `identity' entry is skipped if one was already entered
987manually.
988 993
989Return t if fields added; otherwise return nil." 994In a program, set buffer-local `mh-insert-auto-fields-done-local'
995if header fields were added. If NON-INTERACTIVE is non-nil,
996perform actions quietly and only if
997`mh-insert-auto-fields-done-local' is nil. Return t if fields
998added; otherwise return nil."
990 (interactive) 999 (interactive)
991 (when (or (not non-interactive) 1000 (when (or (not non-interactive)
992 (not mh-insert-auto-fields-done-local)) 1001 (not mh-insert-auto-fields-done-local))