X-Git-Url: https://iankelling.org/git/?p=spray;a=blobdiff_plain;f=README.org;fp=README.org;h=9a63261339680cbdd6f1b5a46c962266ba7040c7;hp=7bea711369f31e91433ba403b499ec04bff84260;hb=1259459660702a715b9f551d67b37dacbdfca61a;hpb=ecb0425a3c49b4bcb1ac1d3ccbeec2061ff43978 diff --git a/README.org b/README.org index 7bea711..9a63261 100644 --- a/README.org +++ b/README.org @@ -59,6 +59,28 @@ You may customize spray by modifying following items: - [Face] spray-base-face - [Face] spray-accent-face +** If your emacs color theme does not work well with spray + +You could create a function to toggle the emacs theme to one that +works with spray, and then put that in the spray mode hook. For example: + +#+begin_src emacs-lisp +(defun toggle-night () + (interactive) + (if (equal (car custom-enabled-themes) 'naquadah) + (override-theme 'leuven) + (override-theme 'naquadah))) +(add-hook 'spray-mode-hook 'toggle-night) +#+end_src + +Alternatively, one user found ways to setup a single buffer with better colors, using +- http://www.emacswiki.org/emacs/BufferBackgroundColor +- https://github.com/vic/color-theme-buffer-local + +He also found this library useful: +https://github.com/ShingoFukuyama/ov.el + + ** Feedback, bugs, etc. Bug tracking is on github.