# HG changeset patch # User Glenn Morris # Date 1073859958 0 # Node ID 2c8dcca3af269a74fe32e6807a7cf0893843b411 # Parent e4365d52d3bf5fb032968e1ae5b12f43ba835c2a (calendar-one-frame-setup) (calendar-only-one-frame-setup, calendar-two-frame-setup): Doc change. diff -r e4365d52d3bf -r 2c8dcca3af26 lisp/calendar/cal-x.el --- a/lisp/calendar/cal-x.el Sun Jan 11 22:25:33 2004 +0000 +++ b/lisp/calendar/cal-x.el Sun Jan 11 22:25:58 2004 +0000 @@ -69,7 +69,9 @@ Can be used to change frame parameters, such as font, color, location, etc.") (defun calendar-one-frame-setup (&optional arg) - "Start calendar and display it in a dedicated frame together with the diary." + "Start calendar and display it in a dedicated frame together with the diary. +This function requires a display capable of multiple frames, else +`calendar-basic-setup' is used instead." (if (not (display-multi-frame-p)) (calendar-basic-setup arg) (if (frame-live-p calendar-frame) (delete-frame calendar-frame)) @@ -97,7 +99,9 @@ 'diary)))))) (defun calendar-only-one-frame-setup (&optional arg) - "Start calendar and display it in a dedicated frame." + "Start calendar and display it in a dedicated frame. +This function requires a display capable of multiple frames, else +`calendar-basic-setup' is used instead." (if (not (display-multi-frame-p)) (calendar-basic-setup arg) (if (frame-live-p calendar-frame) (delete-frame calendar-frame)) @@ -116,7 +120,9 @@ (set-window-dedicated-p (selected-window) 'calendar)))))) (defun calendar-two-frame-setup (&optional arg) - "Start calendar and diary in separate, dedicated frames." + "Start calendar and diary in separate, dedicated frames. +This function requires a display capable of multiple frames, else +`calendar-basic-setup' is used instead." (if (not (display-multi-frame-p)) (calendar-basic-setup arg) (if (frame-live-p calendar-frame) (delete-frame calendar-frame))