0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-17 04:36:28 +00:00

Agenda: Allow custom command options to work better

When the agenda buffer for an agenda series is created, this was so
far done without the options of the custom agenda command in  place.
This meant that some options would not take effect, because the only
place where that did would have an effect was during creation of that
buffer.

This commit makes sure that the global options of an agenda series are
in fact in place when the buffer is created.
This commit is contained in:
Carsten Dominik 2009-06-04 09:23:57 +02:00
parent 3ca7add20a
commit 96989dc01e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
* org-agenda.el (org-run-agenda-series): Scope global options also
when creating the agenda buffer.
2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-adapt-indentation): Improve documentation.

View file

@ -1862,7 +1862,7 @@ s Search for keywords C Configure custom agenda commands
(t (error "Invalid key %c" c))))))))
(defun org-run-agenda-series (name series)
(org-prepare-agenda name)
(org-let (nth 1 series) '(org-prepare-agenda name))
(let* ((org-agenda-multi t)
(redo (list 'org-run-agenda-series name (list 'quote series)))
(cmds (car series))