org.el (org-eval-in-calendar): Fix docstring to mention the KEEPDATE parameter.

* org.el (org-eval-in-calendar): Fix docstring to mention the
KEEPDATE parameter.

Thanks to Toby Cubitt for spotting this.
This commit is contained in:
Bastien Guerry 2012-04-26 15:41:09 +02:00
parent dd6ee0e1b5
commit 580add2f41
1 changed files with 2 additions and 1 deletions

View File

@ -15539,7 +15539,8 @@ user function argument order change dependent on argument order."
(defun org-eval-in-calendar (form &optional keepdate)
"Eval FORM in the calendar window and return to current window.
Also, store the cursor date in variable org-ans2."
When KEEPDATE is non-nil, update `org-ans2' from the cursor date,
otherwise stick to the current value of `org-ans2'."
(let ((sf (selected-frame))
(sw (selected-window)))
(select-window (get-buffer-window "*Calendar*" t))