commit fea1ddd3b785b59412d1434425476a77f495249b
parent c1ae539d3ae4d75f3f85489cd614ac5a679fc95e
Author: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Date: Fri, 4 May 2012 14:19:17 -0700
Merge pull request #33 from npostavs/master
Changes needed to work on Emacs 23
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solarized-theme.el b/solarized-theme.el
@@ -444,7 +444,7 @@
`(org-upcoming-deadline ((,class (:bold t :foreground ,yellow ))))
`(org-warning ((,class (:bold t :foreground ,orange :weight bold :underline t))))
;; org-habit (clear=blue, ready=green, alert=yellow, overdue=red. future=lower contrast)
- `(org-habit-clear-face ((,class (:background ,blue-lc, :foreground ,blue-hc))))
+ `(org-habit-clear-face ((,class (:background ,blue-lc :foreground ,blue-hc))))
`(org-habit-clear-future-face ((,class (:background ,blue-lc))))
`(org-habit-ready-face ((,class (:background ,green-lc :foreground ,green))))
`(org-habit-ready-future-face ((,class (:background ,green-lc))))
@@ -562,7 +562,7 @@
(when childtheme (funcall childtheme))))
;;;###autoload
-(when load-file-name
+(when (and (boundp 'custom-theme-load-path) load-file-name)
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))