From 47593186ea30fe2793f06ba4e887b17166dcac4d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 2 Nov 2022 01:49:10 -0700 Subject: [oni-core] Set some variables for the built-in ‘calendar’ package --- oni-core.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'oni-core.el') 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." -- cgit v1.2.3-54-g00ecf