[oni-core] Set some variables for the built-in ‘calendar’ package
This commit is contained in:
parent
601935c856
commit
47593186ea
1 changed files with 8 additions and 2 deletions
10
oni-core.el
10
oni-core.el
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; 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)
|
;; 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
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -343,7 +343,13 @@ _s_: String list"
|
||||||
|
|
||||||
(with-eval-after-load 'calendar
|
(with-eval-after-load 'calendar
|
||||||
;; I’m used to working with Monday as the starting day.
|
;; 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 ()
|
(defun oni-core-in-word-p ()
|
||||||
"Check whether the character just typed was part of a word."
|
"Check whether the character just typed was part of a word."
|
||||||
|
|
Loading…
Reference in a new issue