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

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 #+BEGIN_SRC emacs-lisp
(use-package calendar (use-package calendar
:ensure nil :ensure nil
:init :custom
(setq calendar-week-start-day 1 (calendar-week-start-day 1))
calendar-latitude 47.4
calendar-longitude 19.0 (use-package cal-dst
calendar-location-name "Budapest, Hungary" :ensure nil
calendar-time-zone 60 :custom
calendar-standard-time-zone-name "CET" (calendar-time-zone 60)
calendar-daylight-time-zone-name "CEST")) (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 #+END_SRC
*** Add the SysAdmin day to the calendar *** Add the SysAdmin day to the calendar