2 Commits 405cfe6c81 ... b97a3fc675

Auteur SHA1 Message Date
  Emilia L.K. Blåsten b97a3fc675 Use default light theme when the sun is up il y a 6 mois
  Emilia L.K. Blåsten 8775068300 Add safe local variable so server mode doesn't hang with asking input il y a 6 mois
1 fichiers modifiés avec 8 ajouts et 1 suppressions
  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)