Emacs helper file for defining org-mode Brazillian holidays.
Create a path to drop your custom elisp files, if you don't have one already. In this example, I'll use ~/.emacs.d/lisp
.
Add this line to your .emacs
:
(add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp"))
Then copy the file brazil-holidays.el
to the folder you just added.
Now, require the holidays package:
(require 'brazil-holidays)
If you wish to replace all your holidays with the ones in this package, add this to your .emacs
, somewhere under the lines above:
(setq calendar-holidays holiday-brazil-holidays)
However, if you wish to only append the brazillian holidays to your calendar:
(setq calendar-holidays (append calendar-holidays holiday-brazil-holidays))
Some resources for more holidays:
Actual TODO list:
- Add non-blocking, extra holidays (Dia Internacional da Mulher, etc): 'holiday-brazil-extra
- Add nontrivial holidays (Dia do Profissional de Informática, etc): 'holiday-brazil-nontrivial
- Add nontrivial lesser holidays (Dia do Programador, Dia da Toalha, etc): 'holiday-brazil-nerdy