2 次代碼提交 405cfe6c81 ... b97a3fc675

作者 SHA1 備註 提交日期
  Emilia L.K. Blåsten b97a3fc675 Use default light theme when the sun is up 6 月之前
  Emilia L.K. Blåsten 8775068300 Add safe local variable so server mode doesn't hang with asking input 6 月之前
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      emacs

+ 8 - 1
emacs

@@ -55,6 +55,7 @@
 ;; Coding system
 (modify-coding-system-alist 'file "" 'utf-8)
 (setq-default buffer-file-coding-system 'utf-8)
+(add-to-list 'safe-local-variable-values '(buffer-file-coding-system . utf-8))
 ;; Backups into ~/.emacs-saves
 (unless (file-exists-p "~/.saves-emacs")
   (make-directory "~/.saves-emacs"))
@@ -108,9 +109,15 @@
   )
 ;; Theme
 (use-package nord-theme ; Good candidates: nord-theme, dracula-theme
+  :ensure t)
+(use-package theme-changer
   :ensure t
+  :after nord-theme
   :config
-  (enable-theme 'nord))
+  (setq calendar-location-name "Espoo")
+  (setq calendar-latitude 60.18)
+  (setq calendar-longitude 24.82)
+  (change-theme nil 'nord))
 ;; Color issues
 (setq shr-use-colors nil) ; Don't use text color when rendering html
                           ; using shr (links ok)