diff options
| author | Bill Wohler | 2006-03-03 20:02:10 +0000 |
|---|---|---|
| committer | Bill Wohler | 2006-03-03 20:02:10 +0000 |
| commit | 3fbc098da9e1e5257bb7bcb219cf05c8a406b52e (patch) | |
| tree | cd1a620fc25af27a8ce8d250570a8850cf024593 | |
| parent | 4a2c4459285d0b726a0b1bc25317d4695c99c852 (diff) | |
| download | emacs-3fbc098da9e1e5257bb7bcb219cf05c8a406b52e.tar.gz emacs-3fbc098da9e1e5257bb7bcb219cf05c8a406b52e.zip | |
(mh-send-letter, mh-insert-auto-fields): Sync docstrings with manual.
| -rw-r--r-- | lisp/mh-e/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mh-e/mh-comp.el | 23 |
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 @@ | |||
| 1 | 2006-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 | |||
| 1 | 2006-03-02 Bill Wohler <wohler@newt.com> | 6 | 2006-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 | |||
| 230 | this command. For example, if you want to check your spelling in | 230 | this command. For example, if you want to check your spelling in |
| 231 | your message before sending, add the function `ispell-message'. | 231 | your message before sending, add the function `ispell-message'. |
| 232 | 232 | ||
| 233 | Unless `mh-insert-auto-fields' had previously been called | ||
| 234 | manually, the function `mh-insert-auto-fields' is called to | ||
| 235 | insert fields based upon the recipients. If fields are added, you | ||
| 236 | are given a chance to see and to confirm these fields before the | ||
| 237 | message is actually sent. You can do away with this confirmation | ||
| 238 | by turning off the option `mh-auto-fields-prompt-flag'. | ||
| 239 | |||
| 233 | In case the MH \"send\" program is installed under a different name, | 240 | In case the MH \"send\" program is installed under a different name, |
| 234 | use `mh-send-prog' to tell MH-E the name." | 241 | use `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 | ||
| 982 | Sets buffer-local `mh-insert-auto-fields-done-local' if header | 989 | Once the header contains one or more recipients, you may run this |
| 983 | fields were added. If NON-INTERACTIVE is non-nil, perform actions | 990 | command to insert these fields manually. However, if you use this |
| 984 | quietly and only if `mh-insert-auto-fields-done-local' is nil. | 991 | command, the automatic insertion when the message is sent is |
| 985 | 992 | disabled. | |
| 986 | An `identity' entry is skipped if one was already entered | ||
| 987 | manually. | ||
| 988 | 993 | ||
| 989 | Return t if fields added; otherwise return nil." | 994 | In a program, set buffer-local `mh-insert-auto-fields-done-local' |
| 995 | if header fields were added. If NON-INTERACTIVE is non-nil, | ||
| 996 | perform actions quietly and only if | ||
| 997 | `mh-insert-auto-fields-done-local' is nil. Return t if fields | ||
| 998 | added; 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)) |