Last active
January 16, 2024 13:02
-
-
Save ruediger/5345405 to your computer and use it in GitHub Desktop.
Austrian Holidays for Emacs (Diary)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Diary | |
(require 'holidays) | |
(setq holiday-austria-holidays '((holiday-fixed 1 1 "Neujahr") | |
(holiday-fixed 1 6 "Heilige Drei Könige") | |
(holiday-easter-etc 1 "Ostermontag") | |
(holiday-fixed 5 1 "Staatsfeiertage") | |
(holiday-easter-etc 39 "Christi Himmelfahrt") | |
(holiday-easter-etc 50 "Pfingstmontag") | |
(holiday-easter-etc 60 "Fronleichnam") | |
(holiday-fixed 8 15 "Mariä Himmelfahrt") | |
(holiday-fixed 10 26 "Nationalfeiertag") | |
(holiday-fixed 11 1 "Allerheiligen") | |
(holiday-fixed 12 8 "Maria Empfängnis") | |
(holiday-fixed 12 25 "Erster Weihnachtstag") | |
(holiday-fixed 12 26 "Zweiter Weihnachtstag"))) | |
(setq holiday-other-holidays '((holiday-fixed 10 3 "Tag der Deutschen Einheit"))) | |
(setq holiday-local-holidays holiday-austria-holidays) | |
(setq calendar-holidays (append holiday-local-holidays holiday-other-holidays)) | |
;; To get in your org-mode Agenda use: | |
;; * Holidays | |
;; #+CATEGORY: Holidays | |
;; %%(org-calendar-holiday) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, very good!