(unless (eq config 'calendar-only)
(if (frame-live-p diary-frame) (delete-frame diary-frame)))
(let ((view-diary-entries-initially (eq config 'one-frame))
- ;; For final calendar-dedicate-diary in two-frames case.
+ ;; For calendar-dedicate-diary in two-frames case.
(pop-up-windows nil))
(save-window-excursion
;; Do diary first so that calendar is always left current.
See `calendar-frame-setup' for more information."
(calendar-frame-setup 'calendar-only prompt))
-
(make-obsolete 'calendar-only-one-frame-setup 'calendar-frame-setup "23.1")
+
;;;###cal-autoload
(defun calendar-two-frame-setup (&optional prompt)
"Display calendar and diary in separate, dedicated frames.