Browse Source

Read date: Force calendar into current frame

Carsten Dominik 16 years ago
parent
commit
42a5312a57
2 changed files with 4 additions and 0 deletions
  1. 3 0
      lisp/ChangeLog
  2. 1 0
      lisp/org.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org.el (org-read-date): Make sure the calendar is in the current
+	frame.
+
 	* org-table.el (org-table-error-on-row-ref-crossing-hline):
 	Variable made obsolete.
 	(org-table-relative-ref-may-cross-hline): New option.

+ 1 - 0
lisp/org.el

@@ -12202,6 +12202,7 @@ user."
 		    (setcar (nthcdr 1 defdecode) 59)
 		    (setq def (apply 'encode-time defdecode)
 			  defdecode (decode-time def)))))
+	 (calendar-frame-setup nil)
 	 (calendar-move-hook nil)
 	 (calendar-view-diary-initially-flag nil)
 	 (view-diary-entries-initially nil)