summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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