Function: org-add-agenda-custom-command
org-add-agenda-custom-command is a byte-compiled function defined in
org-agenda.el.gz.
Signature
(org-add-agenda-custom-command ENTRY)
Documentation
Replace or add a command in org-agenda-custom-commands.
This is mostly for hacking and trying a new command - once the command
works you probably want to add it to org-agenda-custom-commands for good.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-add-agenda-custom-command (entry)
"Replace or add a command in `org-agenda-custom-commands'.
This is mostly for hacking and trying a new command - once the command
works you probably want to add it to `org-agenda-custom-commands' for good."
(let ((ass (assoc (car entry) org-agenda-custom-commands)))
(if ass
(setcdr ass (cdr entry))
(push entry org-agenda-custom-commands))))