2 Commits 405cfe6c81 ... b97a3fc675

Autor SHA1 Mensaje Fecha
  Emilia L.K. Blåsten b97a3fc675 Use default light theme when the sun is up hace 6 meses
  Emilia L.K. Blåsten 8775068300 Add safe local variable so server mode doesn't hang with asking input hace 6 meses
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  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)