diff options
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/feedmail.el | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index ce5a57e2283..2bcbdf4a223 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el @@ -1341,19 +1341,22 @@ variable, but may depend on its value as described here.") (defun feedmail-mail-send-hook-splitter () "Facilitate dividing `mail-send-hook' things into queued and immediate cases. -If you have `mail-send-hook' functions that should only be called for sending/ -queueing messages or only be called for the sending of queued messages, this is -for you. Add this function to `mail-send-hook' with something like this: +If you have `mail-send-hook' functions that should only be called +for sending/ queueing messages or only be called for the sending +of queued messages, this is for you. Add this function to +`mail-send-hook' with something like this: (add-hook \\='mail-send-hook \\='feedmail-mail-send-hook-splitter) -Then add the functions you want called to either `feedmail-mail-send-hook-queued' -or `feedmail-mail-send-hook', as appropriate. The distinction is that -`feedmail-mail-send-hook' will be called when you send mail from a composition -buffer (typically by typing C-c C-c), whether the message is sent immediately -or placed in the queue or drafts directory. `feedmail-mail-send-hook-queued' is -called when messages are being sent from the queue directory, typically via a -call to `feedmail-run-the-queue'." +Then add the functions you want called to either +`feedmail-mail-send-hook-queued' or `feedmail-mail-send-hook', as +appropriate. The distinction is that `feedmail-mail-send-hook' +will be called when you send mail from a composition +buffer (typically by typing C-c C-c), whether the message is sent +immediately or placed in the queue or drafts directory. +`feedmail-mail-send-hook-queued' is called when messages are +being sent from the queue directory, typically via a call to +`feedmail-run-the-queue'." (feedmail-say-debug ">in-> feedmail-mail-send-hook-splitter %s" feedmail-queue-runner-is-active) (if feedmail-queue-runner-is-active (run-hooks 'feedmail-mail-send-hook-queued) @@ -2072,10 +2075,10 @@ internally by feedmail): after-run (the queue has just been run, possibly sending messages) WHAT-EVENT is used as a key into the table `feedmail-queue-reminder-alist'. If -the associated value is a function, it is called without arguments and is expected -to perform the reminder activity. You can supply your own reminder functions -by redefining `feedmail-queue-reminder-alist'. If you don't want any reminders, -you can set `feedmail-queue-reminder-alist' to nil." +the associated value is a function, it is called without arguments and is +expected to perform the reminder activity. You can supply your own reminder +functions by redefining `feedmail-queue-reminder-alist'. If you don't want any +reminders, you can set `feedmail-queue-reminder-alist' to nil." (interactive "p") (feedmail-say-debug ">in-> feedmail-queue-reminder %s" what-event) (let ((key (if (and what-event (symbolp what-event)) what-event 'on-demand)) entry reminder) @@ -2970,7 +2973,8 @@ probably not appropriate for you." (defun feedmail-fiddle-list-of-fiddle-plexes (list-of-fiddle-plexes) - "Fiddling based on a list of fiddle-plexes. Values t, nil, and string are pointless." + "Fiddling based on a list of fiddle-plexes. +Values t, nil, and string are pointless." (feedmail-say-debug ">in-> feedmail-fiddle-list-of-fiddle-plexes") ;; default is to fall off the end of the list and do nothing (let ((lofp list-of-fiddle-plexes) fp) |