Bugfix about using a separate frame for the Calendar.
When the Calendar is displayed in a separate frame, Org was confused and could not find it; this tiny change fixes this.
This commit is contained in:
parent
7896ef6292
commit
3c031462f5
|
@ -1,3 +1,8 @@
|
|||
2009-07-21 Bastien Guerry <bzg@altern.org>
|
||||
|
||||
* org.el (org-eval-in-calendar): Fix a bug about calendar
|
||||
navigation when `calendar-setup' value is 'calendar-only.
|
||||
|
||||
2009-07-19 Bastien Guerry <bzg@altern.org>
|
||||
|
||||
* org.el (orgstruct++-mode): Fix typo in docstring.
|
||||
|
|
|
@ -12409,7 +12409,7 @@ DEF-FLAG is t when a double ++ or -- indicates shift relative to
|
|||
"Eval FORM in the calendar window and return to current window.
|
||||
Also, store the cursor date in variable org-ans2."
|
||||
(let ((sw (selected-window)))
|
||||
(select-window (get-buffer-window "*Calendar*"))
|
||||
(select-window (get-buffer-window "*Calendar*" t))
|
||||
(eval form)
|
||||
(when (and (not keepdate) (calendar-cursor-to-date))
|
||||
(let* ((date (calendar-cursor-to-date))
|
||||
|
|
Loading…
Reference in New Issue