emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dracula-theme 57085af 181/187: Improve code


From: ELPA Syncer
Subject: [nongnu] elpa/dracula-theme 57085af 181/187: Improve code
Date: Thu, 21 Oct 2021 18:05:19 -0400 (EDT)

branch: elpa/dracula-theme
commit 57085af9bc7f31208febbc4eeaa25eea7ef799ba
Author: Étienne Deparis <etienne@depar.is>
Commit: Étienne Deparis <etienne@depar.is>

    Improve code
---
 dracula-theme.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dracula-theme.el b/dracula-theme.el
index bf3b27d..3916472 100644
--- a/dracula-theme.el
+++ b/dracula-theme.el
@@ -769,11 +769,11 @@ read it before opening a new issue about your will.")
          'dracula
          (let ((color-names (mapcar #'car colors))
                (graphic-colors (mapcar #'cadr colors))
-               (term-colors (mapcar #'car (mapcar #'cddr colors)))
-               (tty-colors (mapcar #'car (mapcar #'last colors)))
+               (term-colors (mapcar #'caddr colors))
+               (tty-colors (mapcar #'cadddr colors))
                (expand-for-kind
                 (lambda (kind spec)
-                  (when (and (string= (symbol-name kind) "term-colors")
+                  (when (and (eq kind 'term-colors)
                              dracula-use-24-bit-colors-on-256-colors-terms)
                     (setq kind 'graphic-colors))
                   (cl-progv color-names (symbol-value kind)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]