solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

commit 3f1b24dec4501f7c57abc0068c7b81eda2e3b8fb
parent bf94a1e0d8ecff60852106e1717ce41a0e75ee59
Author: Bozhidar Batsov <bozhidar@empowerunited.com>
Date:   Fri, 20 Jan 2012 19:00:00 +0200

fixes #7 - load-theme error

Diffstat:
Msolarized-theme.el | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/solarized-theme.el b/solarized-theme.el @@ -451,8 +451,9 @@ blue magenta cyan solarized-fg]))) ;;;###autoload -(add-to-list 'custom-theme-load-path - (file-name-as-directory (file-name-directory load-file-name))) +(when load-file-name + (add-to-list 'custom-theme-load-path + (file-name-as-directory (file-name-directory load-file-name)))) ;; Local Variables: ;; no-byte-compile: t