Function: message-do-actions

message-do-actions is a byte-compiled function defined in message.el.gz.

Signature

(message-do-actions ACTIONS)

Documentation

Perform all actions in ACTIONS.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message-do-actions (actions)
  ;; FIXME: Replace it with `run-hooks'?
  "Perform all actions in ACTIONS."
  ;; Now perform actions on successful sending.
  (dolist (action actions)
    (with-demoted-errors "message-do-actions: %S"
      (cond
       ;; A simple function.
       ((functionp action)
	(funcall action))
       ;; Something to be evalled.
       (t
	(eval action t))))))