diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2009-02-25 12:51:00 +0100 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2009-02-25 12:51:00 +0100 |
commit | f44631e70fcb4f238ddf6f541ad45e74125f6a21 (patch) | |
tree | 51828cfacd1b92da6ad99bfd2751e6f278a32290 | |
parent | 3f8ed8803b61652f04ad7ab575a5ccd02e67e004 (diff) | |
download | org-mode-f44631e70fcb4f238ddf6f541ad45e74125f6a21.tar.gz |
Agenda: Make prefix argument to `org-agenda' optional.
This is to make it easier to call this function from lisp.
Patch by Eric Schulte.
-rwxr-xr-x | lisp/ChangeLog | 2 | ||||
-rw-r--r-- | lisp/org-agenda.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index aceff8b..55a13c6 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com> + * org-agenda.el (org-agenda): Make prefix arg optional. + * org-table.el (orgtbl-self-insert-command): Cluster undo for 20 characters. diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 435a967..864061b 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1444,7 +1444,7 @@ that have been changed along." (defvar org-agenda-overriding-restriction nil) ;;;###autoload -(defun org-agenda (arg &optional keys restriction) +(defun org-agenda (&optional arg keys restriction) "Dispatch agenda commands to collect entries to the agenda buffer. Prompts for a command to execute. Any prefix arg will be passed on to the selected command. The default selections are: |