1
0
Fork 0

[oni-core] Set some variables for the built-in ‘calendar’ package

This commit is contained in:
Tom Willemse 2022-11-02 01:49:10 -07:00
parent 601935c856
commit 47593186ea

View file

@ -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
;; Im 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."