aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward M. Reingold1995-09-21 02:48:58 +0000
committerEdward M. Reingold1995-09-21 02:48:58 +0000
commit9275d77924fcf97be665386aa9d5f2bdf39d1378 (patch)
tree186859a36614fd40e38209079fff3c4f71c9dace
parent75af4a4adc4c058bcb2d790154b6e128dd121bc0 (diff)
downloademacs-9275d77924fcf97be665386aa9d5f2bdf39d1378.tar.gz
emacs-9275d77924fcf97be665386aa9d5f2bdf39d1378.zip
Moved stuff to calendar.el, as per RSM's request.
-rw-r--r--lisp/calendar/cal-x.el21
1 files changed, 1 insertions, 20 deletions
diff --git a/lisp/calendar/cal-x.el b/lisp/calendar/cal-x.el
index d3e25e83063..b7fd8fb4c9f 100644
--- a/lisp/calendar/cal-x.el
+++ b/lisp/calendar/cal-x.el
@@ -1,6 +1,6 @@
1;;; cal-x.el --- calendar windows in dedicated frames in x-windows 1;;; cal-x.el --- calendar windows in dedicated frames in x-windows
2 2
3;; Copyright (C) 1994 Free Software Foundation, Inc. 3;; Copyright (C) 1994, 1995 Free Software Foundation, Inc.
4 4
5;; Author: Michael Kifer <kifer@cs.sunysb.edu> 5;; Author: Michael Kifer <kifer@cs.sunysb.edu>
6;; Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Edward M. Reingold <reingold@cs.uiuc.edu>
@@ -36,25 +36,6 @@
36 36
37;;; Code: 37;;; Code:
38 38
39(require 'calendar)
40(if (not (fboundp 'calendar-basic-setup))
41 (fset 'calendar-basic-setup (symbol-function 'calendar)))
42
43;;;###autoload
44(defvar calendar-setup 'one-frame
45 "The frame set up of the calendar.
46The choices are `one-frame' (calendar and diary together in one separate,
47dediciated frame) or `two-frames' (calendar and diary in separate, dedicated
48frames); with any other value the current frame is used.")
49
50(defun calendar (&optional arg)
51 "Choose between the one frame, two frame, or basic calendar displays.
52The original function `calendar' has been renamed `calendar-basic-setup'."
53 (interactive "P")
54 (cond ((equal calendar-setup 'one-frame) (calendar-one-frame-setup arg))
55 ((equal calendar-setup 'two-frames) (calendar-two-frame-setup arg))
56 (t (calendar-basic-setup arg))))
57
58(defvar calendar-frame nil "Frame in which to display the calendar.") 39(defvar calendar-frame nil "Frame in which to display the calendar.")
59 40
60(defvar diary-frame nil "Frame in which to display the diary.") 41(defvar diary-frame nil "Frame in which to display the diary.")