mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-27 01:02:52 +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:
parent
3ca7add20a
commit
96989dc01e
|
@ -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.
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue