From: Lars Ingebrigtsen Date: Sat, 26 Sep 2020 15:33:08 +0000 (+0200) Subject: message-add-action doc string fix X-Git-Tag: emacs-28.0.90~5866 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=20da487d8b240074f22c145762f0ac9edce20a08;p=emacs.git message-add-action doc string fix * lisp/gnus/message.el (message-add-action): Document types. --- 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)))