From 20da487d8b240074f22c145762f0ac9edce20a08 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 26 Sep 2020 17:33:08 +0200 Subject: [PATCH] message-add-action doc string fix * lisp/gnus/message.el (message-add-action): Document types. --- lisp/gnus/message.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 2ad479b59df..ef010d6e9c6 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -4568,7 +4568,8 @@ This function could be useful in `message-setup-hook'." (custom-add-option 'message-setup-hook 'message-check-recipients) (defun message-add-action (action &rest types) - "Add ACTION to be performed when doing an exit of type TYPES." + "Add ACTION to be performed when doing an exit of type TYPES. +Valid types are `send', `return', `exit', `kill' and `postpone'." (while types (add-to-list (intern (format "message-%s-actions" (pop types))) action))) -- 2.39.5