浏览代码

Fix command line syntax for agenda batch commands

* org.texi (Exporting Agenda Views, Extracting agenda information):
Fix command line syntax, quote symbol parameter values.
David Maus 13 年之前
父节点
当前提交
fd5828ab77
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/org.texi

+ 2 - 2
doc/org.texi

@@ -8594,7 +8594,7 @@ or, if you need to modify some parameters@footnote{Quoting depends on the
 system you use, please check the FAQ for examples.}
 @example
 emacs -eval '(org-batch-store-agenda-views                      \
-              org-agenda-span month                             \
+              org-agenda-span (quote month)                     \
               org-agenda-start-day "2007-11-01"                 \
               org-agenda-include-diary nil                      \
               org-agenda-files (quote ("~/org/project.org")))'  \
@@ -14878,7 +14878,7 @@ You may also modify parameters on the fly like this:
 @example
 emacs -batch -l ~/.emacs                                      \
    -eval '(org-batch-agenda "a"                               \
-            org-agenda-span month                             \
+            org-agenda-span (quote month)                     \
             org-agenda-include-diary nil                      \
             org-agenda-files (quote ("~/org/project.org")))'  \
    | lpr