Emacs: Remove rase package
Alan Pearce alan@alanpearce.co.uk
Sat, 28 Nov 2015 15:38:03 +0100
1 files changed, 2 insertions(+), 30 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-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