From b08b298e17d1b38192891a9a577b6f6cd826976e Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Tue, 10 Mar 2020 20:52:18 +0100 Subject: [PATCH] Remove calendar customizations --- init.org | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/init.org b/init.org index 96f8c35..55ba1bc 100644 --- a/init.org +++ b/init.org @@ -551,45 +551,7 @@ (lambda () (setq-local helm-dash-docsets '("Clojure")))) #+END_SRC -** Calendar - - Define a function to display week numbers in =calender-mode=. The snippet - is from [[http://www.emacswiki.org/emacs/CalendarWeekNumbers][EmacsWiki]]. - - #+BEGIN_SRC emacs-lisp - (defun calendar-show-week (arg) - "Displaying week number in calendar-mode." - (interactive "P") - (copy-face font-lock-constant-face 'calendar-iso-week-face) - (set-face-attribute - 'calendar-iso-week-face nil :height 0.7) - (setq calendar-intermonth-text - (and arg - '(propertize - (format - "%2d" - (car (calendar-iso-from-absolute - (calendar-absolute-from-gregorian - (list month day year))))) - 'font-lock-face 'calendar-iso-week-face)))) - #+END_SRC - - Evaluate the =calendar-show-week= function. - - #+BEGIN_SRC emacs-lisp - (calendar-show-week t) - #+END_SRC - - Set Monday as the first day of the week, and set my location. - - #+BEGIN_SRC emacs-lisp - (setq calendar-week-start-day 1 - calendar-latitude 60.0 - calendar-longitude 10.7 - calendar-location-name "Oslo, Norway") - #+END_SRC - -** Flyspell +** Spelling Flyspell offers on-the-fly spell checking. We can enable flyspell for all text-modes with this snippet.