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

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

[nongnu] elpa/gotham-theme bc7687e904 035/214: Extend code to handle nes


From: ELPA Syncer
Subject: [nongnu] elpa/gotham-theme bc7687e904 035/214: Extend code to handle nested underline and box lists
Date: Fri, 7 Jan 2022 17:58:39 -0500 (EST)

branch: elpa/gotham-theme
commit bc7687e90479f9de98a40e353cf3123b88318161
Author: Vasilij Schneidermann <v.schneidermann@gmail.com>
Commit: Vasilij Schneidermann <v.schneidermann@gmail.com>

    Extend code to handle nested underline and box lists
---
 gotham-theme.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gotham-theme.el b/gotham-theme.el
index 44696d9c87..7661386317 100644
--- a/gotham-theme.el
+++ b/gotham-theme.el
@@ -108,8 +108,11 @@ depending on DISPLAY for keys which are either :foreground 
or
                           ((eq display 'tty) 2)))
              (color (nth index (assoc value gotham-color-alist))))
         (cond
-         ((or (eq key :foreground) (eq key :background))
+         ((memq key '(:foreground :background :overline :color))
           (setq output (append output (list key color))))
+         ((and (memq key '(:box :underline)) (listp value))
+          (setq output (append output
+                               (list key (my-transform-spec value display)))))
          (t (setq output (append output (list key value))))))
       (setq spec (cddr spec)))
     output))



reply via email to

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