From: Mark Wooding Date: Thu, 24 Apr 2008 23:18:23 +0000 (+0100) Subject: emacs: Teach Emacs about English (and Welsh) bank holidays. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/a1293ade723b89f40cff99fc43130479bbc8ca22?ds=inline;hp=-c emacs: Teach Emacs about English (and Welsh) bank holidays. Found at http://www.mundell.ukfsn.org/elisp/ew-hols.el; thanks to Matthew Mundell for this. --- a1293ade723b89f40cff99fc43130479bbc8ca22 diff --git a/emacs b/emacs index 33b10b5..232c37f 100644 --- a/emacs +++ b/emacs @@ -206,6 +206,14 @@ (setq calendar-longitude 0.1) (setq calendar-location-name "Cambridge, UK") +;; --- Holidays --- + +(and (not mdw-fast-startup) + (trap + (require 'ew-hols) + (setq other-holidays (append english-and-welsh-bank-holidays + other-holidays)))) + ;; --- Date format fiddling --- (setq european-calendar-style t) diff --git a/setup b/setup index 16ef268..183ea64 100755 --- a/setup +++ b/setup @@ -227,6 +227,7 @@ fi echo "Installing Emacs packages..." emacspkg=" make-regexp + ew-hols git git-blame vc-git stgit quilt" for elib in $emacspkg; do