Mercurial > emacs
comparison lisp/calendar/calendar.el @ 94019:28144b96054e
(calendar-faces): New custom group.
(calendar-today, diary, holiday): Doc fix. Move to calendar-faces group.
Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 12 Apr 2008 03:11:03 +0000 |
parents | 27365ac56ead |
children | 746fc66b809d |
comparison
equal
deleted
inserted
replaced
94018:2834643ba8a0 | 94019:28144b96054e |
---|---|
130 (defgroup calendar-hooks nil | 130 (defgroup calendar-hooks nil |
131 "Calendar hooks." | 131 "Calendar hooks." |
132 :prefix "calendar-" | 132 :prefix "calendar-" |
133 :group 'calendar) | 133 :group 'calendar) |
134 | 134 |
135 (defgroup calendar-faces nil | |
136 "Calendar faces." | |
137 :prefix "calendar-" | |
138 :group 'calendar) | |
139 | |
135 (defcustom calendar-offset 0 | 140 (defcustom calendar-offset 0 |
136 "The offset of the principal month from the center of the calendar window. | 141 "The offset of the principal month from the center of the calendar window. |
137 0 means the principal month is in the center (default), -1 means on the left, | 142 0 means the principal month is in the center (default), -1 means on the left, |
138 +1 means on the right. Larger (or smaller) values push the principal month off | 143 +1 means on the right. Larger (or smaller) values push the principal month off |
139 the screen." | 144 the screen." |
176 :set (lambda (sym val) | 181 :set (lambda (sym val) |
177 (set sym val) | 182 (set sym val) |
178 (calendar-redraw)) | 183 (calendar-redraw)) |
179 :group 'calendar) | 184 :group 'calendar) |
180 | 185 |
186 (define-obsolete-variable-alias 'view-diary-entries-initially | |
187 'calendar-view-diary-initially-flag "23.1") | |
188 | |
181 (defcustom calendar-view-diary-initially-flag nil | 189 (defcustom calendar-view-diary-initially-flag nil |
182 "Non-nil means display current date's diary entries on entry to calendar. | 190 "Non-nil means display current date's diary entries on entry to calendar. |
183 The diary is displayed in another window when the calendar is first displayed, | 191 The diary is displayed in another window when the calendar is first displayed, |
184 if the current date is visible. The number of days of diary entries displayed | 192 if the current date is visible. The number of days of diary entries displayed |
185 is governed by the variable `diary-number-of-entries'. This variable can | 193 is governed by the variable `diary-number-of-entries'. This variable can |
186 be overridden by the value of `calendar-setup'." | 194 be overridden by the value of `calendar-setup'." |
187 :type 'boolean | 195 :type 'boolean |
188 :group 'diary) | 196 :group 'diary) |
189 | 197 |
190 (define-obsolete-variable-alias 'view-diary-entries-initially | 198 (define-obsolete-variable-alias 'mark-diary-entries-in-calendar |
191 'calendar-view-diary-initially-flag "23.1") | 199 'calendar-mark-diary-entries-flag "23.1") |
192 | 200 |
193 (defcustom calendar-mark-diary-entries-flag nil | 201 (defcustom calendar-mark-diary-entries-flag nil |
194 "Non-nil means mark dates with diary entries, in the calendar window. | 202 "Non-nil means mark dates with diary entries, in the calendar window. |
195 The marking symbol is specified by the variable `diary-entry-marker'." | 203 The marking symbol is specified by the variable `diary-entry-marker'." |
196 :type 'boolean | 204 :type 'boolean |
197 :group 'diary) | 205 :group 'diary) |
198 | |
199 (define-obsolete-variable-alias 'mark-diary-entries-in-calendar | |
200 'calendar-mark-diary-entries-flag "23.1") | |
201 | 206 |
202 (defcustom calendar-remove-frame-by-deleting t | 207 (defcustom calendar-remove-frame-by-deleting t |
203 "Determine how the calendar mode removes a frame no longer needed. | 208 "Determine how the calendar mode removes a frame no longer needed. |
204 If nil, make an icon of the frame. If non-nil, delete the frame." | 209 If nil, make an icon of the frame. If non-nil, delete the frame." |
205 :type 'boolean | 210 :type 'boolean |
207 :group 'view | 212 :group 'view |
208 :group 'calendar) | 213 :group 'calendar) |
209 | 214 |
210 (defface calendar-today | 215 (defface calendar-today |
211 '((t (:underline t))) | 216 '((t (:underline t))) |
212 "Face for indicating today's date." | 217 "Face for indicating today's date in the calendar. |
213 :group 'calendar) | 218 See `calendar-today-marker'." |
219 :group 'calendar-faces) | |
214 ;; Backward-compatibility alias. FIXME make obsolete. | 220 ;; Backward-compatibility alias. FIXME make obsolete. |
215 (put 'calendar-today-face 'face-alias 'calendar-today) | 221 (put 'calendar-today-face 'face-alias 'calendar-today) |
216 | 222 |
217 (defface diary | 223 (defface diary |
218 '((((min-colors 88) (class color) (background light)) | 224 '((((min-colors 88) (class color) (background light)) |
223 :foreground "yellow1") | 229 :foreground "yellow1") |
224 (((class color) (background dark)) | 230 (((class color) (background dark)) |
225 :foreground "yellow") | 231 :foreground "yellow") |
226 (t | 232 (t |
227 :weight bold)) | 233 :weight bold)) |
228 "Face for highlighting diary entries." | 234 "Face for highlighting diary entries. |
229 :group 'diary) | 235 Used to mark diary entries in the calendar (see `diary-entry-marker'), |
236 and to highlight the date header in the fancy diary." | |
237 :group 'calendar-faces) | |
230 ;; Backward-compatibility alias. FIXME make obsolete. | 238 ;; Backward-compatibility alias. FIXME make obsolete. |
231 (put 'diary-face 'face-alias 'diary) | 239 (put 'diary-face 'face-alias 'diary) |
232 | 240 |
233 (defface holiday | 241 (defface holiday |
234 '((((class color) (background light)) | 242 '((((class color) (background light)) |
235 :background "pink") | 243 :background "pink") |
236 (((class color) (background dark)) | 244 (((class color) (background dark)) |
237 :background "chocolate4") | 245 :background "chocolate4") |
238 (t | 246 (t |
239 :inverse-video t)) | 247 :inverse-video t)) |
240 "Face for indicating dates that have holidays." | 248 "Face for indicating in the calendar dates that have holidays. |
241 :group 'holidays) | 249 See `calendar-holiday-marker'." |
250 :group 'calendar-faces) | |
242 ;; Backward-compatibility alias. FIXME make obsolete. | 251 ;; Backward-compatibility alias. FIXME make obsolete. |
243 (put 'holiday-face 'face-alias 'holiday) | 252 (put 'holiday-face 'face-alias 'holiday) |
244 | 253 |
245 ;; These don't respect changes in font-lock-mode after loading. | 254 ;; These don't respect changes in font-lock-mode after loading. |
246 (defcustom diary-entry-marker (if (and font-lock-mode (display-color-p)) | 255 (defcustom diary-entry-marker (if (and font-lock-mode (display-color-p)) |
266 "How to mark notable dates in the calendar. | 275 "How to mark notable dates in the calendar. |
267 The value can be either a single-character string or a face." | 276 The value can be either a single-character string or a face." |
268 :type '(choice string face) | 277 :type '(choice string face) |
269 :group 'holidays) | 278 :group 'holidays) |
270 | 279 |
280 (define-obsolete-variable-alias 'view-calendar-holidays-initially | |
281 'calendar-view-holidays-initially-flag "23.1") | |
282 | |
271 (defcustom calendar-view-holidays-initially-flag nil | 283 (defcustom calendar-view-holidays-initially-flag nil |
272 "Non-nil means display holidays for current three month period on entry. | 284 "Non-nil means display holidays for current three month period on entry. |
273 The holidays are displayed in another window when the calendar is first | 285 The holidays are displayed in another window when the calendar is first |
274 displayed." | 286 displayed." |
275 :type 'boolean | 287 :type 'boolean |
276 :group 'holidays) | 288 :group 'holidays) |
277 | 289 |
278 (define-obsolete-variable-alias 'view-calendar-holidays-initially | 290 (define-obsolete-variable-alias 'mark-holidays-in-calendar |
279 'calendar-view-holidays-initially-flag "23.1") | 291 'calendar-mark-holidays-flag "23.1") |
280 | 292 |
281 (defcustom calendar-mark-holidays-flag nil | 293 (defcustom calendar-mark-holidays-flag nil |
282 "Non-nil means mark dates of holidays in the calendar window. | 294 "Non-nil means mark dates of holidays in the calendar window. |
283 The marking symbol is specified by the variable `calendar-holiday-marker'." | 295 The marking symbol is specified by the variable `calendar-holiday-marker'." |
284 :type 'boolean | 296 :type 'boolean |
285 :group 'holidays) | 297 :group 'holidays) |
286 | 298 |
287 (define-obsolete-variable-alias 'mark-holidays-in-calendar | |
288 'calendar-mark-holidays-flag "23.1") | |
289 | |
290 (defcustom calendar-mode-hook nil | 299 (defcustom calendar-mode-hook nil |
291 "Hook run when entering `calendar-mode'." | 300 "Hook run when entering `calendar-mode'." |
292 :type 'hook | 301 :type 'hook |
293 :group 'calendar-hooks) | 302 :group 'calendar-hooks) |
294 | 303 |
295 (defcustom calendar-load-hook nil | 304 (defcustom calendar-load-hook nil |
296 "List of functions to be called after the calendar is first loaded. | 305 "List of functions to be called after the calendar is first loaded. |
297 This is the place to add key bindings to `calendar-mode-map'." | 306 This is the place to add key bindings to `calendar-mode-map'." |
298 :type 'hook | 307 :type 'hook |
299 :group 'calendar-hooks) | 308 :group 'calendar-hooks) |
309 | |
310 (define-obsolete-variable-alias 'initial-calendar-window-hook | |
311 'calendar-initial-window-hook "23.1") | |
300 | 312 |
301 (defcustom calendar-initial-window-hook nil | 313 (defcustom calendar-initial-window-hook nil |
302 "List of functions to be called when the calendar window is created. | 314 "List of functions to be called when the calendar window is created. |
303 Quitting the calendar and re-entering it will cause these functions | 315 Quitting the calendar and re-entering it will cause these functions |
304 to be called again." | 316 to be called again." |
305 :type 'hook | 317 :type 'hook |
306 :group 'calendar-hooks) | 318 :group 'calendar-hooks) |
307 | 319 |
308 (define-obsolete-variable-alias 'initial-calendar-window-hook | 320 (define-obsolete-variable-alias 'today-visible-calendar-hook |
309 'calendar-initial-window-hook "23.1") | 321 'calendar-today-visible-hook "23.1") |
310 | 322 |
311 (defcustom calendar-today-visible-hook nil | 323 (defcustom calendar-today-visible-hook nil |
312 "List of functions called whenever the current date is visible. | 324 "List of functions called whenever the current date is visible. |
313 To mark today's date, add the function `calendar-mark-today'. | 325 To mark today's date, add the function `calendar-mark-today'. |
314 To replace the date with asterisks, add the function `calendar-star-date'. | 326 To replace the date with asterisks, add the function `calendar-star-date'. |
318 since it may cause the movement commands to fail." | 330 since it may cause the movement commands to fail." |
319 :type 'hook | 331 :type 'hook |
320 :options '(calendar-mark-today calendar-star-date) | 332 :options '(calendar-mark-today calendar-star-date) |
321 :group 'calendar-hooks) | 333 :group 'calendar-hooks) |
322 | 334 |
323 (define-obsolete-variable-alias 'today-visible-calendar-hook | 335 (define-obsolete-variable-alias 'today-invisible-calendar-hook |
324 'calendar-today-visible-hook "23.1") | 336 'calendar-today-invisible-hook "23.1") |
325 | 337 |
326 (defcustom calendar-today-invisible-hook nil | 338 (defcustom calendar-today-invisible-hook nil |
327 "List of functions called whenever the current date is not visible. | 339 "List of functions called whenever the current date is not visible. |
328 See also `calendar-today-visible-hook'." | 340 See also `calendar-today-visible-hook'." |
329 :type 'hook | 341 :type 'hook |
330 :group 'calendar-hooks) | 342 :group 'calendar-hooks) |
331 | |
332 (define-obsolete-variable-alias 'today-invisible-calendar-hook | |
333 'calendar-today-invisible-hook "23.1") | |
334 | 343 |
335 (defcustom calendar-move-hook nil | 344 (defcustom calendar-move-hook nil |
336 "List of functions called whenever the cursor moves in the calendar. | 345 "List of functions called whenever the cursor moves in the calendar. |
337 For example, | 346 For example, |
338 | 347 |
436 (defcustom diary-nonmarking-symbol "&" | 445 (defcustom diary-nonmarking-symbol "&" |
437 "Symbol indicating that a diary entry is not to be marked in the calendar." | 446 "Symbol indicating that a diary entry is not to be marked in the calendar." |
438 :type 'string | 447 :type 'string |
439 :group 'diary) | 448 :group 'diary) |
440 | 449 |
450 (define-obsolete-variable-alias 'hebrew-diary-entry-symbol | |
451 'diary-hebrew-entry-symbol "23.1") | |
452 | |
441 (defcustom diary-hebrew-entry-symbol "H" | 453 (defcustom diary-hebrew-entry-symbol "H" |
442 "Symbol indicating a diary entry according to the Hebrew calendar." | 454 "Symbol indicating a diary entry according to the Hebrew calendar." |
443 :type 'string | 455 :type 'string |
444 :group 'diary) | 456 :group 'diary) |
445 | 457 |
446 (define-obsolete-variable-alias 'hebrew-diary-entry-symbol | 458 (define-obsolete-variable-alias 'islamic-diary-entry-symbol |
447 'diary-hebrew-entry-symbol "23.1") | 459 'diary-islamic-entry-symbol "23.1") |
448 | 460 |
449 (defcustom diary-islamic-entry-symbol "I" | 461 (defcustom diary-islamic-entry-symbol "I" |
450 "Symbol indicating a diary entry according to the Islamic calendar." | 462 "Symbol indicating a diary entry according to the Islamic calendar." |
451 :type 'string | 463 :type 'string |
452 :group 'diary) | 464 :group 'diary) |
453 | 465 |
454 (define-obsolete-variable-alias 'islamic-diary-entry-symbol | 466 (define-obsolete-variable-alias 'bahai-diary-entry-symbol |
455 'diary-islamic-entry-symbol "23.1") | 467 'diary-bahai-entry-symbol "23.1") |
456 | 468 |
457 (defcustom diary-bahai-entry-symbol "B" | 469 (defcustom diary-bahai-entry-symbol "B" |
458 "Symbol indicating a diary entry according to the Baha'i calendar." | 470 "Symbol indicating a diary entry according to the Baha'i calendar." |
459 :type 'string | 471 :type 'string |
460 :group 'diary) | 472 :group 'diary) |
461 | |
462 (define-obsolete-variable-alias 'bahai-diary-entry-symbol | |
463 'diary-bahai-entry-symbol "23.1") | |
464 | 473 |
465 (defcustom european-calendar-style nil | 474 (defcustom european-calendar-style nil |
466 "Non-nil means use the European style of dates in the diary and display. | 475 "Non-nil means use the European style of dates in the diary and display. |
467 In this case, a date like 1/2/1990 would be interpreted as | 476 In this case, a date like 1/2/1990 would be interpreted as |
468 February 1, 1990. See `diary-european-date-forms' for the | 477 February 1, 1990. See `diary-european-date-forms' for the |
530 (repeat (list :inline t :format "%v" | 539 (repeat (list :inline t :format "%v" |
531 (symbol :tag "Keyword") | 540 (symbol :tag "Keyword") |
532 (choice symbol regexp))))) | 541 (choice symbol regexp))))) |
533 :group 'diary) | 542 :group 'diary) |
534 | 543 |
544 (define-obsolete-variable-alias 'american-date-diary-pattern | |
545 'diary-american-date-forms "23.1") | |
546 | |
535 (defcustom diary-american-date-forms | 547 (defcustom diary-american-date-forms |
536 '((month "/" day "[^/0-9]") | 548 '((month "/" day "[^/0-9]") |
537 (month "/" day "/" year "[^0-9]") | 549 (month "/" day "/" year "[^0-9]") |
538 (monthname " *" day "[^,0-9]") | 550 (monthname " *" day "[^,0-9]") |
539 (monthname " *" day ", *" year "[^0-9]") | 551 (monthname " *" day ", *" year "[^0-9]") |
551 (repeat (list :inline t :format "%v" | 563 (repeat (list :inline t :format "%v" |
552 (symbol :tag "Keyword") | 564 (symbol :tag "Keyword") |
553 (choice symbol regexp))))) | 565 (choice symbol regexp))))) |
554 :group 'diary) | 566 :group 'diary) |
555 | 567 |
556 (define-obsolete-variable-alias 'american-date-diary-pattern | 568 (define-obsolete-variable-alias 'european-date-diary-pattern |
557 'diary-american-date-forms "23.1") | 569 'diary-european-date-forms "23.1") |
558 | 570 |
559 (defcustom diary-european-date-forms | 571 (defcustom diary-european-date-forms |
560 '((day "/" month "[^/0-9]") | 572 '((day "/" month "[^/0-9]") |
561 (day "/" month "/" year "[^0-9]") | 573 (day "/" month "/" year "[^0-9]") |
562 (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)") | 574 (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)") |
574 (choice symbol regexp)))) | 586 (choice symbol regexp)))) |
575 (repeat (list :inline t :format "%v" | 587 (repeat (list :inline t :format "%v" |
576 (symbol :tag "Keyword") | 588 (symbol :tag "Keyword") |
577 (choice symbol regexp))))) | 589 (choice symbol regexp))))) |
578 :group 'diary) | 590 :group 'diary) |
579 | |
580 (define-obsolete-variable-alias 'european-date-diary-pattern | |
581 'diary-european-date-forms "23.1") | |
582 | 591 |
583 (defvar diary-font-lock-keywords) | 592 (defvar diary-font-lock-keywords) |
584 | 593 |
585 (defcustom diary-date-forms (cond ((eq calendar-date-style 'iso) | 594 (defcustom diary-date-forms (cond ((eq calendar-date-style 'iso) |
586 diary-iso-date-forms) | 595 diary-iso-date-forms) |
643 \(which see)." | 652 \(which see)." |
644 :type 'sexp | 653 :type 'sexp |
645 :version "23.1" | 654 :version "23.1" |
646 :group 'calendar) | 655 :group 'calendar) |
647 | 656 |
657 (define-obsolete-variable-alias 'european-calendar-display-form | |
658 'calendar-european-date-display-form "23.1") | |
659 | |
648 (defcustom calendar-european-date-display-form | 660 (defcustom calendar-european-date-display-form |
649 '((if dayname (concat dayname ", ")) day " " monthname " " year) | 661 '((if dayname (concat dayname ", ")) day " " monthname " " year) |
650 "Pseudo-pattern governing the way a date appears in the European style. | 662 "Pseudo-pattern governing the way a date appears in the European style. |
651 Normally you should not customize this, but `calendar-date-display-form' | 663 Normally you should not customize this, but `calendar-date-display-form' |
652 \(which see)." | 664 \(which see)." |
653 :type 'sexp | 665 :type 'sexp |
654 :group 'calendar) | 666 :group 'calendar) |
655 | 667 |
656 (define-obsolete-variable-alias 'european-calendar-display-form | 668 (define-obsolete-variable-alias 'american-calendar-display-form |
657 'calendar-european-date-display-form "23.1") | 669 'calendar-american-date-display-form "23.1") |
658 | 670 |
659 (defcustom calendar-american-date-display-form | 671 (defcustom calendar-american-date-display-form |
660 '((if dayname (concat dayname ", ")) monthname " " day ", " year) | 672 '((if dayname (concat dayname ", ")) monthname " " day ", " year) |
661 "Pseudo-pattern governing the way a date appears in the American style. | 673 "Pseudo-pattern governing the way a date appears in the American style. |
662 Normally you should not customize this, but `calendar-date-display-form' | 674 Normally you should not customize this, but `calendar-date-display-form' |
663 \(which see)." | 675 \(which see)." |
664 :type 'sexp | 676 :type 'sexp |
665 :group 'calendar) | 677 :group 'calendar) |
666 | |
667 (define-obsolete-variable-alias 'american-calendar-display-form | |
668 'calendar-american-date-display-form "23.1") | |
669 | 678 |
670 (defcustom calendar-date-display-form | 679 (defcustom calendar-date-display-form |
671 (cond ((eq calendar-date-style 'iso) | 680 (cond ((eq calendar-date-style 'iso) |
672 calendar-iso-date-display-form) | 681 calendar-iso-date-display-form) |
673 ((eq calendar-date-style 'european) | 682 ((eq calendar-date-style 'european) |
721 (interactive) | 730 (interactive) |
722 (calendar-set-date-style 'american)) | 731 (calendar-set-date-style 'american)) |
723 | 732 |
724 (make-obsolete 'american-calendar 'calendar-set-date-style "23.1") | 733 (make-obsolete 'american-calendar 'calendar-set-date-style "23.1") |
725 | 734 |
735 (define-obsolete-variable-alias 'holidays-in-diary-buffer | |
736 'diary-show-holidays-flag "23.1") | |
737 | |
726 (defcustom diary-show-holidays-flag t | 738 (defcustom diary-show-holidays-flag t |
727 "Non-nil means include holidays in the diary display. | 739 "Non-nil means include holidays in the diary display. |
728 The holidays appear in the mode line of the diary buffer, or in the | 740 The holidays appear in the mode line of the diary buffer, or in the |
729 fancy diary buffer next to the date. This slows down the diary functions | 741 fancy diary buffer next to the date. This slows down the diary functions |
730 somewhat; setting it to nil makes the diary display faster." | 742 somewhat; setting it to nil makes the diary display faster." |
731 :type 'boolean | 743 :type 'boolean |
732 :group 'holidays) | 744 :group 'holidays) |
733 | 745 |
734 (define-obsolete-variable-alias 'holidays-in-diary-buffer | |
735 'diary-show-holidays-flag "23.1") | |
736 | |
737 (defcustom calendar-debug-sexp nil | 746 (defcustom calendar-debug-sexp nil |
738 "Turn debugging on when evaluating a sexp in the diary or holiday list." | 747 "Turn debugging on when evaluating a sexp in the diary or holiday list." |
739 :type 'boolean | 748 :type 'boolean |
740 :group 'calendar) | 749 :group 'calendar) |
750 | |
751 (define-obsolete-variable-alias 'all-hebrew-calendar-holidays | |
752 'calendar-hebrew-all-holidays-flag "23.1") | |
741 | 753 |
742 (defcustom calendar-hebrew-all-holidays-flag nil | 754 (defcustom calendar-hebrew-all-holidays-flag nil |
743 "If nil, show only major holidays from the Hebrew calendar. | 755 "If nil, show only major holidays from the Hebrew calendar. |
744 This means only those Jewish holidays that appear on secular calendars. | 756 This means only those Jewish holidays that appear on secular calendars. |
745 Otherwise, show all the holidays that would appear in a complete Hebrew | 757 Otherwise, show all the holidays that would appear in a complete Hebrew |
746 calendar." | 758 calendar." |
747 :type 'boolean | 759 :type 'boolean |
748 :group 'holidays) | 760 :group 'holidays) |
749 | 761 |
750 (define-obsolete-variable-alias 'all-hebrew-calendar-holidays | 762 (define-obsolete-variable-alias 'all-christian-calendar-holidays |
751 'calendar-hebrew-all-holidays-flag "23.1") | 763 'calendar-christian-all-holidays-flag "23.1") |
752 | 764 |
753 (defcustom calendar-christian-all-holidays-flag nil | 765 (defcustom calendar-christian-all-holidays-flag nil |
754 "If nil, show only major holidays from the Christian calendar. | 766 "If nil, show only major holidays from the Christian calendar. |
755 This means only those Christian holidays that appear on secular calendars. | 767 This means only those Christian holidays that appear on secular calendars. |
756 Otherwise, show all the holidays that would appear in a complete Christian | 768 Otherwise, show all the holidays that would appear in a complete Christian |
757 calendar." | 769 calendar." |
758 :type 'boolean | 770 :type 'boolean |
759 :group 'holidays) | 771 :group 'holidays) |
760 | 772 |
761 (define-obsolete-variable-alias 'all-christian-calendar-holidays | 773 (define-obsolete-variable-alias 'all-islamic-calendar-holidays |
762 'calendar-christian-all-holidays-flag "23.1") | 774 'calendar-islamic-all-holidays-flag "23.1") |
763 | 775 |
764 (defcustom calendar-islamic-all-holidays-flag nil | 776 (defcustom calendar-islamic-all-holidays-flag nil |
765 "If nil, show only major holidays from the Islamic calendar. | 777 "If nil, show only major holidays from the Islamic calendar. |
766 This means only those Islamic holidays that appear on secular calendars. | 778 This means only those Islamic holidays that appear on secular calendars. |
767 Otherwise, show all the holidays that would appear in a complete Islamic | 779 Otherwise, show all the holidays that would appear in a complete Islamic |
768 calendar." | 780 calendar." |
769 :type 'boolean | 781 :type 'boolean |
770 :group 'holidays) | 782 :group 'holidays) |
771 | 783 |
772 (define-obsolete-variable-alias 'all-islamic-calendar-holidays | 784 (define-obsolete-variable-alias 'all-bahai-calendar-holidays |
773 'calendar-islamic-all-holidays-flag "23.1") | 785 'calendar-bahai-all-holidays-flag "23.1") |
774 | 786 |
775 (defcustom calendar-bahai-all-holidays-flag nil | 787 (defcustom calendar-bahai-all-holidays-flag nil |
776 "If nil, show only major holidays from the Baha'i calendar. | 788 "If nil, show only major holidays from the Baha'i calendar. |
777 These are the days on which work and school must be suspended. | 789 These are the days on which work and school must be suspended. |
778 Otherwise, show all the holidays that would appear in a complete Baha'i | 790 Otherwise, show all the holidays that would appear in a complete Baha'i |
779 calendar." | 791 calendar." |
780 :type 'boolean | 792 :type 'boolean |
781 :group 'holidays) | 793 :group 'holidays) |
782 | |
783 (define-obsolete-variable-alias 'all-bahai-calendar-holidays | |
784 'calendar-bahai-all-holidays-flag "23.1") | |
785 | 794 |
786 ;;; End of user options. | 795 ;;; End of user options. |
787 | 796 |
788 (defconst calendar-buffer "*Calendar*" | 797 (defconst calendar-buffer "*Calendar*" |
789 "Name of the buffer used for the calendar.") | 798 "Name of the buffer used for the calendar.") |