Function: activities-list-command

activities-list-command is a macro defined in activities-list.el.

Signature

(activities-list-command COMMAND)

Documentation

Expand to a lambda that applies its args to COMMAND and reverts the list buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/activities-0.7.2/activities-list.el
(defmacro activities-list-command (command)
  "Expand to a lambda that applies its args to COMMAND and reverts the list buffer."
  `(lambda (&rest args)
     (let ((list-buffer (current-buffer)))
       (apply #',command args)
       (with-current-buffer list-buffer
         (vtable-revert-command)))))