From ca93790b0c05a68a41a81a363173814ebba66994 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 23 Apr 2020 20:59:44 +0100 Subject: themes: explicit ansi-colors vector --- themes/jao-themes.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'themes/jao-themes.el') 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) -- cgit v1.2.3