Commit 0f1e40b6 authored by Glenn Morris's avatar Glenn Morris

Add autoload cookies to functions formerly autoloaded in calendar.el.

Set `generated-autoload-file' to "cal-loaddefs.el".
parent ab4f654f
...@@ -67,6 +67,7 @@ Can be used to change frame parameters, such as font, color, location, etc.") ...@@ -67,6 +67,7 @@ Can be used to change frame parameters, such as font, color, location, etc.")
;; calendar-basic-setup is called first, and will autoload diary-lib. ;; calendar-basic-setup is called first, and will autoload diary-lib.
(declare-function make-fancy-diary-buffer "diary-lib" nil) (declare-function make-fancy-diary-buffer "diary-lib" nil)
;;;###autoload
(defun calendar-one-frame-setup (&optional arg) (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 This function requires a display capable of multiple frames, else
...@@ -97,6 +98,7 @@ This function requires a display capable of multiple frames, else ...@@ -97,6 +98,7 @@ This function requires a display capable of multiple frames, else
fancy-diary-buffer)) fancy-diary-buffer))
t)))))) t))))))
;;;###autoload
(defun calendar-only-one-frame-setup (&optional arg) (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 This function requires a display capable of multiple frames, else
...@@ -118,6 +120,7 @@ This function requires a display capable of multiple frames, else ...@@ -118,6 +120,7 @@ This function requires a display capable of multiple frames, else
(calendar-basic-setup arg) (calendar-basic-setup arg)
(set-window-dedicated-p (selected-window) t)))))) (set-window-dedicated-p (selected-window) t))))))
;;;###autoload
(defun calendar-two-frame-setup (&optional arg) (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 This function requires a display capable of multiple frames, else
...@@ -167,5 +170,9 @@ This function requires a display capable of multiple frames, else ...@@ -167,5 +170,9 @@ This function requires a display capable of multiple frames, else
(provide 'cal-x) (provide 'cal-x)
;; Local Variables:
;; generated-autoload-file: "cal-loaddefs.el"
;; End:
;; arch-tag: c6dbddca-ae84-442d-87fc-244b76e38e17 ;; arch-tag: c6dbddca-ae84-442d-87fc-244b76e38e17
;;; cal-x.el ends here ;;; cal-x.el ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment