Move calendar settings into :custom directives

This commit is contained in:
Gergely Polonkai 2023-10-06 05:02:15 +02:00
parent ee064eed75
commit c1d777c365
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 16 additions and 8 deletions

View File

@ -1566,14 +1566,22 @@ For some strange reason having this at the end of my configuration can cause une
#+BEGIN_SRC emacs-lisp
(use-package calendar
:ensure nil
:init
(setq calendar-week-start-day 1
calendar-latitude 47.4
calendar-longitude 19.0
calendar-location-name "Budapest, Hungary"
calendar-time-zone 60
calendar-standard-time-zone-name "CET"
calendar-daylight-time-zone-name "CEST"))
:custom
(calendar-week-start-day 1))
(use-package cal-dst
:ensure nil
:custom
(calendar-time-zone 60)
(calendar-standard-time-zone-name "CET")
(calendar-daylight-time-zone-name "CEST"))
(use-package solar
:ensure nil
:custom
(calendar-latitude 47.4)
(calendar-longitude 19.0)
(calendar-location-name "Budapest, Hungary"))
#+END_SRC
*** Add the SysAdmin day to the calendar