From 47593186ea30fe2793f06ba4e887b17166dcac4d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 2 Nov 2022 01:49:10 -0700 Subject: [PATCH] =?UTF-8?q?[oni-core]=20Set=20some=20variables=20for=20the?= =?UTF-8?q?=20built-in=20=E2=80=98calendar=E2=80=99=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-core.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/oni-core.el b/oni-core.el index 9def407..b1ae8fe 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2022.0817.144942 +;; Version: 2022.1102.014506 ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard mixed-pitch ace-window vertico marginalia orderless consult embark docstr) ;; This program is free software; you can redistribute it and/or modify @@ -343,7 +343,13 @@ _s_: String list" (with-eval-after-load 'calendar ;; I’m used to working with Monday as the starting day. - (setq calendar-week-start-day 1)) + (setq calendar-week-start-day 1 + calendar-date-style 'iso)) + +(eval-when-compile (require 'solar)) +(with-eval-after-load 'solar + (setq calendar-latitude 49.2127205 + calendar-longitude -122.9267927)) (defun oni-core-in-word-p () "Check whether the character just typed was part of a word."