all repos — nixfiles @ f72f1ebfbe607a140e47fa834fb6fb9377854c6f

System and user configuration, managed by nix and home-manager

Emacs: Remove rase package

Alan Pearce
commit

f72f1ebfbe607a140e47fa834fb6fb9377854c6f

parent

4a4e6b10b6bd4ca58f0d2b039e3211d404c20c24

1 file changed, 2 insertions(+), 30 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -256,8 +256,7 @@ lot of modes.
#+BEGIN_SRC emacs-lisp (req-package solarized-theme :config (progn - (load-theme 'solarized-light t t) - (load-theme 'solarized-dark t t))) + (load-theme 'solarized-light t))) #+END_SRC Colourise colour names in certain types of buffer. I don’t use this
@@ -873,35 +872,8 @@ (add-hook 'osx-location-changed-hook
(lambda () (setq calendar-latitude osx-location-latitude calendar-longitude osx-location-longitude - calendar-location-name (format "%s, %s" osx-location-latitude osx-location-longitude)) - (rase-start))) + calendar-location-name (format "%s, %s" osx-location-latitude osx-location-longitude)))) (osx-location-watch))) -#+END_SRC - -#+BEGIN_SRC emacs-lisp - (req-package rase - :config (progn - (defun switch-themes (sun-event &optional first-run) - "Switch themes on sunrise and sunset." - (if first-run ; set theme on initialization - (cond ((memq sun-event '(sunrise midday)) - (disable-theme 'solarized-dark) - (enable-theme 'solarized-light)) - ((memq sun-event '(sunset midnight)) - (disable-theme 'solarized-light) - (enable-theme 'solarized-dark))) - (cond ((eq sun-event 'sunrise) ; after initialization deal only - (disable-theme 'solarized-dark) ; with sunrise and sunset - (enable-theme 'solarized-light)) - ((eq sun-event 'sunset) - (disable-theme 'solarized-light) - (enable-theme 'solarized-dark))))) - - ;; sign this function to be invoked on sun events - (add-hook 'rase-functions 'switch-themes) - - ;; start the run-at-sun-event daemon, invoking hooks immediately - (rase-start t))) #+END_SRC * Directories