From b53dcf8a94f38f93e2cd4cea441d7ed977552aa5 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 2 Oct 2017 12:26:38 +0200 Subject: [PATCH] Add article for SysAdmin day in Emacs --- ...0-02-add-sysadmin-day-to-emacs-calendar.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 _posts/2017-10-02-add-sysadmin-day-to-emacs-calendar.md diff --git a/_posts/2017-10-02-add-sysadmin-day-to-emacs-calendar.md b/_posts/2017-10-02-add-sysadmin-day-to-emacs-calendar.md new file mode 100644 index 0000000..c744c7b --- /dev/null +++ b/_posts/2017-10-02-add-sysadmin-day-to-emacs-calendar.md @@ -0,0 +1,27 @@ +--- +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 +--- +I’m 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 +doesn’t 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 +… +```