人生第一次感受到被elisp支配的恐惧

;;; Circadian - Switch Theme
(use-package circadian
  :ensure t
  :config
  (setq calendar-latitude 27.831940
        calendar-longitude 113.148087)
  (setq circadian-themes '((:sunrise . lazycat-light)
                           (:sunset . lazycat-dark)))
  (circadian-setup)
  (setq-default cursor-type '(bar . 2)))
;;; Emacs Application Framework
(use-package eaf
  :load-path "~/.emacs.d/site-lisp/emacs-application-framework"
  :defer 1
  :bind (("C-q C-w l" . eaf-open-browser))
  :config
  (eaf-setq eaf-browser-remember-history "true")
  (eaf-setq eaf-browser-default-zoom "1.5")
  (defalias 'browse-web #'eaf-open-browser)
  (if (and (< (car (circadian-sunrise)) (car (circadian-now-time))) (> (car (circadian-sunset)) (car (circadian-now-time))))
      (eaf-setq eaf-browser-dark-mode "false")
    (eaf-setq eaf-browser-dark-mode "true")))

if那一段 待会多开几行

2赞