summaryrefslogtreecommitdiff
path: root/lisp/calendar/solar.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-03-13 05:49:02 +0000
committerGlenn Morris <rgm@gnu.org>2008-03-13 05:49:02 +0000
commitfb97eeac20f11e5aa692851472c9f81ede40a71d (patch)
tree00e4816600d9327be10178132f6ae19525f3336e /lisp/calendar/solar.el
parent93695e742b5520e11e9fdebcc78c25027dca22a6 (diff)
downloademacs-fb97eeac20f11e5aa692851472c9f81ede40a71d.tar.gz
emacs-fb97eeac20f11e5aa692851472c9f81ede40a71d.tar.bz2
emacs-fb97eeac20f11e5aa692851472c9f81ede40a71d.zip
Add calendar-specific autoload cookies.
Diffstat (limited to 'lisp/calendar/solar.el')
-rw-r--r--lisp/calendar/solar.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el
index 90cebd59d2e..d0b02b4b111 100644
--- a/lisp/calendar/solar.el
+++ b/lisp/calendar/solar.el
@@ -872,6 +872,7 @@ This function is suitable for execution in a .emacs file."
"Type \\[switch-to-buffer-other-window] RET to restore old \
contents of temp window."))))))
+;;;###cal-autoload
(defun calendar-sunrise-sunset ()
"Local time of sunrise and sunset for date under cursor.
Accurate to a few seconds."
@@ -886,6 +887,7 @@ Accurate to a few seconds."
(defvar date)
;; To be called from list-sexp-diary-entries, where DATE is bound.
+;;;###diary-autoload
(defun diary-sunrise-sunset ()
"Local time of sunrise and sunset as a diary entry.
Accurate to a few seconds."
@@ -894,6 +896,7 @@ Accurate to a few seconds."
(solar-sunrise-sunset-string date))
;; To be called from list-sexp-diary-entries, where DATE is bound.
+;;;###diary-autoload
(defun diary-sabbath-candles (&optional mark)
"Local time of candle lighting diary entry--applies if date is a Friday.
No diary entry if there is no sunset on that date.
@@ -1015,6 +1018,7 @@ solstice. These formulas are only to be used between 1000 BC and 3000 AD."
(* -0.00823 z z z)
(* 0.00032 z z z z)))))))
+;;;###holiday-autoload
(defun solar-equinoxes-solstices ()
"Local date and time of equinoxes and solstices, if visible in the calendar.
Requires floating point."