Skip to content

Instantly share code, notes, and snippets.

@ruediger
Last active January 16, 2024 13:02
Show Gist options
  • Save ruediger/5345405 to your computer and use it in GitHub Desktop.
Save ruediger/5345405 to your computer and use it in GitHub Desktop.
Austrian Holidays for Emacs (Diary)
;; 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)
@machinekoder
Copy link

Thanks, very good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment