From f72f1ebfbe607a140e47fa834fb6fb9377854c6f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 28 Nov 2015 15:38:03 +0100 Subject: Emacs: Remove rase package --- tag-emacs/emacs.d/init.org | 32 ++------------------------------ 1 file 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 -- cgit 1.4.1