aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calendar/calendar.el
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1999-06-27 21:23:39 +0000
committerKarl Heuer <[email protected]>1999-06-27 21:23:39 +0000
commita4410177c3307c6aea0567d8ea56f7e9f897b72d (patch)
treeb081be95f4507d617ee2f041df9d9ec9dec80b20 /lisp/calendar/calendar.el
parent77a7efce7e9f14b7ef238c54d3390a63b8b79c9f (diff)
(calendar): Call calendar-only-one-frame-setup if requested.
Diffstat (limited to 'lisp/calendar/calendar.el')
-rw-r--r--lisp/calendar/calendar.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index bc4aca2dbe..0ed6d844a6 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -1326,8 +1326,9 @@ The Gregorian date Sunday, December 31, 1 BC is imaginary."
(defvar calendar-setup nil
"The frame set up of the calendar.
The choices are `one-frame' (calendar and diary together in one separate,
-dedicated frame) or `two-frames' (calendar and diary in separate, dedicated
-frames); with any other value the current frame is used.")
+dedicated frame), `two-frames' (calendar and diary in separate, dedicated
+frames), `calendar-only' (calendar in a separate, dedicated frame); with
+any other value the current frame is used.")
;;;###autoload
(defun calendar (&optional arg)
@@ -1336,6 +1337,8 @@ The original function `calendar' has been renamed `calendar-basic-setup'."
(interactive "P")
(cond ((equal calendar-setup 'one-frame) (calendar-one-frame-setup arg))
((equal calendar-setup 'two-frames) (calendar-two-frame-setup arg))
+ ((equal calendar-setup 'calendar-only)
+ (calendar-only-one-frame-setup arg))
(t (calendar-basic-setup arg))))
(defun calendar-basic-setup (&optional arg)