aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-11-02 01:49:10 -0700
committerGravatar Tom Willemse2022-11-02 01:49:35 -0700
commit47593186ea30fe2793f06ba4e887b17166dcac4d (patch)
tree71468134619ec6a20ab376a3951491bb6bef8f10 /oni-core.el
parent601935c856756c3c8acb8816a3832e952ddc7391 (diff)
downloademacs-config-47593186ea30fe2793f06ba4e887b17166dcac4d.tar.gz
emacs-config-47593186ea30fe2793f06ba4e887b17166dcac4d.zip
[oni-core] Set some variables for the built-in ‘calendar’ package
Diffstat (limited to 'oni-core.el')
-rw-r--r--oni-core.el10
1 files 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 <tom@ryuslash.org>
;; 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."