[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spacemacs-theme 8223455132 291/336: Remove dyn-let as disc
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spacemacs-theme 8223455132 291/336: Remove dyn-let as discussed in issue #139. |
Date: |
Fri, 14 Jan 2022 10:59:46 -0500 (EST) |
branch: elpa/spacemacs-theme
commit 822345513297ac9faa87b515fb83b219e37bed98
Author: Uros Perisic <uros.m.perisic@gmail.com>
Commit: Uros Perisic <uros.m.perisic@gmail.com>
Remove dyn-let as discussed in issue #139.
---
spacemacs-common.el | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/spacemacs-common.el b/spacemacs-common.el
index d439a2f881..d46ad7faca 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -34,9 +34,6 @@
;;; Code:
-(defmacro dyn-let (varlist fn setfaces setvars)
- (list 'let (append varlist (funcall fn)) setfaces setvars))
-
(defgroup spacemacs-theme nil
"Spacemacs-theme options."
:group 'faces)
@@ -100,12 +97,8 @@ to 'auto, tags may not be properly aligned. "
(display-graphic-p)
(= (tty-display-color-cells) 16777216)))
-(defun custom-colors-override ()
- (mapcar (lambda (x) (list (car x) (cdr x)))
- spacemacs-theme-custom-colors))
-
(defun create-spacemacs-theme (variant theme-name)
- (dyn-let ((class '((class color) (min-colors 89))) ;; ~~ Dark
~~ ~~ Light ~~
+ (let ((class '((class color) (min-colors 89))) ;; ~~ Dark ~~
~~ Light ~~
;; GUI
TER GUI TER
;; generic
(act1 (if (eq variant 'dark) (if (true-color-p) "#222226"
"#121212") (if (true-color-p) "#e7e5eb" "#d7dfff")))
@@ -167,10 +160,10 @@ to 'auto, tags may not be properly aligned. "
(blue-bg-s (if (eq variant 'dark) (if (true-color-p) "#2d4252"
"#262626") (if (true-color-p) "#d1dcdf" "#d7d7ff")))
(magenta (if (eq variant 'dark) (if (true-color-p) "#a31db1"
"#af00df") (if (true-color-p) "#a31db1" "#800080")))
(yellow (if (eq variant 'dark) (if (true-color-p) "#b1951d"
"#875f00") (if (true-color-p) "#b1951d" "#875f00")))
- (yellow-bg (if (eq variant 'dark) (if (true-color-p) "#32322c"
"#262626") (if (true-color-p) "#f6f1e1" "#ffffff")))
- )
+ (yellow-bg (if (eq variant 'dark) (if (true-color-p) "#32322c"
"#262626") (if (true-color-p) "#f6f1e1" "#ffffff"))))
- custom-colors-override
+ (cl-loop for (var . val) in spacemacs-theme-custom-colors
+ do (set var val))
(custom-theme-set-faces
theme-name
- [nongnu] elpa/spacemacs-theme 108cbbd93a 132/336: Update documentation of base-dim, (continued)
- [nongnu] elpa/spacemacs-theme 108cbbd93a 132/336: Update documentation of base-dim, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 4b73dfc72b 159/336: Support highlight-symbol.el, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme b61aface0a 172/336: Lazy-highlight (#55), ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 1c3080cdab 173/336: Fix (#54) avy highlighting in terminal, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 9358c37ee9 199/336: Merge pull request #77 from benjamreynolds/patch-1, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 9100128ebd 211/336: Update README, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 30e16f3435 207/336: Add custom option to enable italics for comments, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme f4a324dce1 213/336: Merge pull request #84 from jabranham/calfw, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme be01cae704 203/336: Merge pull request #80 from jabranham/mu4e-maildirs, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 9ae49faf0a 239/336: Support `line-numer-current-line` face., ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 8223455132 291/336: Remove dyn-let as discussed in issue #139.,
ELPA Syncer <=
- [nongnu] elpa/spacemacs-theme b6463a6f04 260/336: Merge pull request #117 from jabranham/new-ess-faces, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 16ae2301ac 270/336: Set line-number face unconditionally, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 5196e9b502 285/336: Update README (Fix #133), ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 4dde300561 284/336: Merge pull request #132 from duianto/patch-1, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme fd655a912c 237/336: Merge pull request #105 from jabranham/flymake, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme a359ec8dfd 290/336: notmuch: fix performance issues with light theme, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme a92c36ae6d 273/336: Merge pull request #126 from yuhan0/master, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme d492766eec 288/336: Added selected modified theme for tabbar, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme af8a6093cd 261/336: Tweak diff-hl backgrounds (Fix #118), ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme d484fcb3db 258/336: Add italics for keywords (Fix #114), ELPA Syncer, 2022/01/14