summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-11-28 15:38:03 +0100
committerAlan Pearce2015-11-28 15:38:03 +0100
commitf72f1ebfbe607a140e47fa834fb6fb9377854c6f (patch)
tree27782ec542c69f216a057cdd0dec8a9b4f42d919 /tag-emacs
parent4a4e6b10b6bd4ca58f0d2b039e3211d404c20c24 (diff)
downloaddotfiles-f72f1ebfbe607a140e47fa834fb6fb9377854c6f.tar.lz
dotfiles-f72f1ebfbe607a140e47fa834fb6fb9377854c6f.tar.zst
dotfiles-f72f1ebfbe607a140e47fa834fb6fb9377854c6f.zip
Emacs: Remove rase package
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org32
1 files changed, 2 insertions, 30 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 8750d25..80cb06d 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/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,37 +872,10 @@ Sometimes I want to insert a date or time into a buffer.
                         (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
 
 Dired works quite nicely, but not always in the way I want.  I don’t