aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-03-13 05:41:16 +0000
committerGlenn Morris2008-03-13 05:41:16 +0000
commit1d0c7fdfd5b83efff68b171203893de85b0f69ac (patch)
tree54e71e95832dfab52a4daa3283494679d3a1a7bc
parentdedac6ab10e26307aca17b23fa173efb1523b020 (diff)
downloademacs-1d0c7fdfd5b83efff68b171203893de85b0f69ac.tar.gz
emacs-1d0c7fdfd5b83efff68b171203893de85b0f69ac.zip
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of internal calendar autoloads and normal autoloads.
-rw-r--r--lisp/calendar/cal-china.el12
-rw-r--r--lisp/calendar/cal-coptic.el18
-rw-r--r--lisp/calendar/cal-french.el11
3 files changed, 17 insertions, 24 deletions
diff --git a/lisp/calendar/cal-china.el b/lisp/calendar/cal-china.el
index 561a55a8a58..eecd1bc525c 100644
--- a/lisp/calendar/cal-china.el
+++ b/lisp/calendar/cal-china.el
@@ -363,6 +363,7 @@ Gregorian date Sunday, December 31, 1 BC."
363 (car (car list)) 363 (car (car list))
364 (1+ (- date (car (cdr (car list)))))))) 364 (1+ (- date (car (cdr (car list))))))))
365 365
366;;;###holiday-autoload
366(defun holiday-chinese-new-year () 367(defun holiday-chinese-new-year ()
367 "Date of Chinese New Year." 368 "Date of Chinese New Year."
368 (let ((m displayed-month) 369 (let ((m displayed-month)
@@ -378,7 +379,7 @@ Gregorian date Sunday, December 31, 1 BC."
378 (format "Chinese New Year (%s)" 379 (format "Chinese New Year (%s)"
379 (calendar-chinese-sexagesimal-name (+ y 57)))))))))) 380 (calendar-chinese-sexagesimal-name (+ y 57))))))))))
380 381
381;;;###autoload 382;;;###cal-autoload
382(defun calendar-chinese-date-string (&optional date) 383(defun calendar-chinese-date-string (&optional date)
383 "String of Chinese date of Gregorian DATE. 384 "String of Chinese date of Gregorian DATE.
384Defaults to today's date if DATE is not given." 385Defaults to today's date if DATE is not given."
@@ -420,7 +421,7 @@ N congruent to 1 gives the first name, N congruent to 2 gives the second name,
420 (aref chinese-calendar-celestial-stem (% (1- n) 10)) 421 (aref chinese-calendar-celestial-stem (% (1- n) 10))
421 (aref chinese-calendar-terrestrial-branch (% (1- n) 12)))) 422 (aref chinese-calendar-terrestrial-branch (% (1- n) 12))))
422 423
423;;;###autoload 424;;;###cal-autoload
424(defun calendar-print-chinese-date () 425(defun calendar-print-chinese-date ()
425 "Show the Chinese date equivalents of date." 426 "Show the Chinese date equivalents of date."
426 (interactive) 427 (interactive)
@@ -428,7 +429,7 @@ N congruent to 1 gives the first name, N congruent to 2 gives the second name,
428 (message "Chinese date: %s" 429 (message "Chinese date: %s"
429 (calendar-chinese-date-string (calendar-cursor-to-date t)))) 430 (calendar-chinese-date-string (calendar-cursor-to-date t))))
430 431
431;;;###autoload 432;;;###cal-autoload
432(defun calendar-goto-chinese-date (date &optional noecho) 433(defun calendar-goto-chinese-date (date &optional noecho)
433 "Move cursor to Chinese date DATE. 434 "Move cursor to Chinese date DATE.
434Echo Chinese date unless NOECHO is t." 435Echo Chinese date unless NOECHO is t."
@@ -502,15 +503,12 @@ Echo Chinese date unless NOECHO is t."
502(defvar date) 503(defvar date)
503 504
504;; To be called from list-sexp-diary-entries, where DATE is bound. 505;; To be called from list-sexp-diary-entries, where DATE is bound.
506;;;###diary-autoload
505(defun diary-chinese-date () 507(defun diary-chinese-date ()
506 "Chinese calendar equivalent of date diary entry." 508 "Chinese calendar equivalent of date diary entry."
507 (format "Chinese date: %s" (calendar-chinese-date-string date))) 509 (format "Chinese date: %s" (calendar-chinese-date-string date)))
508 510
509(provide 'cal-china) 511(provide 'cal-china)
510 512
511;; Local Variables:
512;; generated-autoload-file: "cal-loaddefs.el"
513;; End:
514
515;; arch-tag: 7e5b7e0d-676c-47e3-8696-93e7ea0ab644 513;; arch-tag: 7e5b7e0d-676c-47e3-8696-93e7ea0ab644
516;;; cal-china.el ends here 514;;; cal-china.el ends here
diff --git a/lisp/calendar/cal-coptic.el b/lisp/calendar/cal-coptic.el
index 3a206d9866a..9e5664d9129 100644
--- a/lisp/calendar/cal-coptic.el
+++ b/lisp/calendar/cal-coptic.el
@@ -105,7 +105,7 @@ Gregorian date Sunday, December 31, 1 BC."
105 (1- (calendar-absolute-from-coptic (list month 1 year)))))) 105 (1- (calendar-absolute-from-coptic (list month 1 year))))))
106 (list month day year)))) 106 (list month day year))))
107 107
108;;;###autoload 108;;;###cal-autoload
109(defun calendar-coptic-date-string (&optional date) 109(defun calendar-coptic-date-string (&optional date)
110 "String of Coptic date of Gregorian DATE. 110 "String of Coptic date of Gregorian DATE.
111Returns the empty string if DATE is pre-Coptic calendar. 111Returns the empty string if DATE is pre-Coptic calendar.
@@ -124,7 +124,7 @@ Defaults to today's date if DATE is not given."
124 (year (int-to-string y))) 124 (year (int-to-string y)))
125 (mapconcat 'eval calendar-date-display-form ""))))) 125 (mapconcat 'eval calendar-date-display-form "")))))
126 126
127;;;###autoload 127;;;###cal-autoload
128(defun calendar-print-coptic-date () 128(defun calendar-print-coptic-date ()
129 "Show the Coptic calendar equivalent of the selected date." 129 "Show the Coptic calendar equivalent of the selected date."
130 (interactive) 130 (interactive)
@@ -133,7 +133,7 @@ Defaults to today's date if DATE is not given."
133 (message "Date is pre-%s calendar" coptic-name) 133 (message "Date is pre-%s calendar" coptic-name)
134 (message "%s date: %s" coptic-name f)))) 134 (message "%s date: %s" coptic-name f))))
135 135
136;;;###autoload 136;;;###cal-autoload
137(defun calendar-goto-coptic-date (date &optional noecho) 137(defun calendar-goto-coptic-date (date &optional noecho)
138 "Move cursor to Coptic date DATE. 138 "Move cursor to Coptic date DATE.
139Echo Coptic date unless NOECHO is t." 139Echo Coptic date unless NOECHO is t."
@@ -170,6 +170,7 @@ Echo Coptic date unless NOECHO is t."
170(defvar date) 170(defvar date)
171 171
172;; To be called from list-sexp-diary-entries, where DATE is bound. 172;; To be called from list-sexp-diary-entries, where DATE is bound.
173;;;###diary-autoload
173(defun diary-coptic-date () 174(defun diary-coptic-date ()
174 "Coptic calendar equivalent of date diary entry." 175 "Coptic calendar equivalent of date diary entry."
175 (let ((f (calendar-coptic-date-string date))) 176 (let ((f (calendar-coptic-date-string date)))
@@ -201,7 +202,7 @@ Gregorian date Sunday, December 31, 1 BC."
201 (let ((coptic-calendar-epoch ethiopic-calendar-epoch)) 202 (let ((coptic-calendar-epoch ethiopic-calendar-epoch))
202 (calendar-coptic-from-absolute date))) 203 (calendar-coptic-from-absolute date)))
203 204
204;;;###autoload 205;;;###cal-autoload
205(defun calendar-ethiopic-date-string (&optional date) 206(defun calendar-ethiopic-date-string (&optional date)
206 "String of Ethiopic date of Gregorian DATE. 207 "String of Ethiopic date of Gregorian DATE.
207Returns the empty string if DATE is pre-Ethiopic calendar. 208Returns the empty string if DATE is pre-Ethiopic calendar.
@@ -211,7 +212,7 @@ Defaults to today's date if DATE is not given."
211 (coptic-calendar-month-name-array ethiopic-calendar-month-name-array)) 212 (coptic-calendar-month-name-array ethiopic-calendar-month-name-array))
212 (calendar-coptic-date-string date))) 213 (calendar-coptic-date-string date)))
213 214
214;;;###autoload 215;;;###cal-autoload
215(defun calendar-print-ethiopic-date () 216(defun calendar-print-ethiopic-date ()
216 "Show the Ethiopic calendar equivalent of the selected date." 217 "Show the Ethiopic calendar equivalent of the selected date."
217 (interactive) 218 (interactive)
@@ -220,7 +221,7 @@ Defaults to today's date if DATE is not given."
220 (coptic-calendar-month-name-array ethiopic-calendar-month-name-array)) 221 (coptic-calendar-month-name-array ethiopic-calendar-month-name-array))
221 (call-interactively 'calendar-print-coptic-date))) 222 (call-interactively 'calendar-print-coptic-date)))
222 223
223;;;###autoload 224;;;###cal-autoload
224(defun calendar-goto-ethiopic-date (date &optional noecho) 225(defun calendar-goto-ethiopic-date (date &optional noecho)
225 "Move cursor to Ethiopic date DATE. 226 "Move cursor to Ethiopic date DATE.
226Echo Ethiopic date unless NOECHO is t." 227Echo Ethiopic date unless NOECHO is t."
@@ -234,6 +235,7 @@ Echo Ethiopic date unless NOECHO is t."
234 (or noecho (calendar-print-ethiopic-date))) 235 (or noecho (calendar-print-ethiopic-date)))
235 236
236;; To be called from list-sexp-diary-entries, where DATE is bound. 237;; To be called from list-sexp-diary-entries, where DATE is bound.
238;;;###diary-autoload
237(defun diary-ethiopic-date () 239(defun diary-ethiopic-date ()
238 "Ethiopic calendar equivalent of date diary entry." 240 "Ethiopic calendar equivalent of date diary entry."
239 (let ((coptic-calendar-epoch ethiopic-calendar-epoch) 241 (let ((coptic-calendar-epoch ethiopic-calendar-epoch)
@@ -243,9 +245,5 @@ Echo Ethiopic date unless NOECHO is t."
243 245
244(provide 'cal-coptic) 246(provide 'cal-coptic)
245 247
246;; Local Variables:
247;; generated-autoload-file: "cal-loaddefs.el"
248;; End:
249
250;; arch-tag: 72d49161-25df-4072-9312-b182cdca7627 248;; arch-tag: 72d49161-25df-4072-9312-b182cdca7627
251;;; cal-coptic.el ends here 249;;; cal-coptic.el ends here
diff --git a/lisp/calendar/cal-french.el b/lisp/calendar/cal-french.el
index 4918eea045b..1284370809f 100644
--- a/lisp/calendar/cal-french.el
+++ b/lisp/calendar/cal-french.el
@@ -160,7 +160,7 @@ The absolute date is the number of days elapsed since the
160 (1- (calendar-absolute-from-french (list month 1 year)))))) 160 (1- (calendar-absolute-from-french (list month 1 year))))))
161 (list month day year)))) 161 (list month day year))))
162 162
163;;;###autoload 163;;;###cal-autoload
164(defun calendar-french-date-string (&optional date) 164(defun calendar-french-date-string (&optional date)
165 "String of French Revolutionary date of Gregorian DATE. 165 "String of French Revolutionary date of Gregorian DATE.
166Returns the empty string if DATE is pre-French Revolutionary. 166Returns the empty string if DATE is pre-French Revolutionary.
@@ -186,7 +186,7 @@ Defaults to today's date if DATE is not given."
186 (aref (french-calendar-month-name-array) (1- m)) 186 (aref (french-calendar-month-name-array) (1- m))
187 y))))) 187 y)))))
188 188
189;;;###autoload 189;;;###cal-autoload
190(defun calendar-print-french-date () 190(defun calendar-print-french-date ()
191 "Show the French Revolutionary calendar equivalent of the selected date." 191 "Show the French Revolutionary calendar equivalent of the selected date."
192 (interactive) 192 (interactive)
@@ -195,7 +195,7 @@ Defaults to today's date if DATE is not given."
195 (message "Date is pre-French Revolution") 195 (message "Date is pre-French Revolution")
196 (message "French Revolutionary date: %s" f)))) 196 (message "French Revolutionary date: %s" f))))
197 197
198;;;###autoload 198;;;###cal-autoload
199(defun calendar-goto-french-date (date &optional noecho) 199(defun calendar-goto-french-date (date &optional noecho)
200 "Move cursor to French Revolutionary date DATE. 200 "Move cursor to French Revolutionary date DATE.
201Echo French Revolutionary date unless NOECHO is t." 201Echo French Revolutionary date unless NOECHO is t."
@@ -250,6 +250,7 @@ Echo French Revolutionary date unless NOECHO is t."
250(defvar date) 250(defvar date)
251 251
252;; To be called from list-sexp-diary-entries, where DATE is bound. 252;; To be called from list-sexp-diary-entries, where DATE is bound.
253;;;###diary-autoload
253(defun diary-french-date () 254(defun diary-french-date ()
254 "French calendar equivalent of date diary entry." 255 "French calendar equivalent of date diary entry."
255 (let ((f (calendar-french-date-string date))) 256 (let ((f (calendar-french-date-string date)))
@@ -259,9 +260,5 @@ Echo French Revolutionary date unless NOECHO is t."
259 260
260(provide 'cal-french) 261(provide 'cal-french)
261 262
262;; Local Variables:
263;; generated-autoload-file: "cal-loaddefs.el"
264;; End:
265
266;; arch-tag: 7e8045a3-8609-46b5-9cde-cf40ce541cf9 263;; arch-tag: 7e8045a3-8609-46b5-9cde-cf40ce541cf9
267;;; cal-french.el ends here 264;;; cal-french.el ends here