summaryrefslogtreecommitdiffhomepage
path: root/themes/jao-themes.el
diff options
context:
space:
mode:
Diffstat (limited to 'themes/jao-themes.el')
-rw-r--r--themes/jao-themes.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/jao-themes.el b/themes/jao-themes.el
index f2e91dc..004796e 100644
--- a/themes/jao-themes.el
+++ b/themes/jao-themes.el
@@ -955,8 +955,10 @@
(faces (cdr (assoc :faces args)))
(x-faces (cdr (assoc :x-faces args)))
(x-colors (cdr (assoc :x-colors args)))
- (ansi-colors (apply 'vector (butlast x-colors
- (- (length x-colors) 8)))))
+ (a-colors (cdr (assoc :ansi-colors args)))
+ (ansi-colors (when a-colors
+ (apply 'vector (butlast a-colors
+ (- (length a-colors) 8))))))
`(progn
(setq ansi-color-names-vector ,ansi-colors)
(ansi-color-map-update 'ansi-color-names-vector ,ansi-colors)