gergelypolonkai-web-jekyll/_posts/2017-10-02-add-sysadmin-day-to-emacs-calendar.md

28 lines
709 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
layout: post
title: "Add SysAdmin day to Emacs Calendar"
date: 2017-10-02 09:37:52
tags: [emacs]
published: true
author:
name: Gergely Polonkai
email: gergely@polonkai.eu
---
Im a SysAdmin since 1998. Maybe a bit earlier, if you count managing our home computer. This
means [SysAdmin Day](http://sysadminday.com/) is also celebrating me. However, my Emacs Calendar
doesnt show it for some reason.
The solution is pretty easy:
``` lisp
(add-to-list 'holiday-other-holidays '(holiday-float 7 5 -1 "SysAdmin Day") t)
```
Now invoke `holidays-list` for any year, choosing “Other” as the category, and there you go:
```
Friday, July 28, 2017: SysAdmin Day
```