فهرست منبع

Agenda: Have series options available when finalizing agenda.

An agenda series can have a set of global options.  Matt Lundin
reported that these options to not work completely.  There reason was
that, when calling `org-finalize-agenda' for a series, the dynamic
binding of those options was already off again.  This commit makes
sure that these bindings are available also during this final step.
Carsten Dominik 17 سال پیش
والد
کامیت
52ee4c0bd2
2فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 3 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-agenda.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-agenda.el (org-run-agenda-series): Have series options set
+	when finalizing the agenda.
+
 	* org-exp.el (org-export-format-source-code-or-example): Protect
 	the converted examples.
 

+ 1 - 1
lisp/org-agenda.el

@@ -1713,7 +1713,7 @@ s   Search for keywords                 C   Configure custom agenda commands
     (widen)
     (setq org-agenda-redo-command redo)
     (goto-char (point-min)))
-  (org-finalize-agenda))
+  (org-let (nth 1 series) '(org-finalize-agenda)))
 
 ;;;###autoload
 (defmacro org-batch-agenda (cmd-key &rest parameters)