[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/standard-themes 73b76c1383 1/6: Replace cl-remove-if-no
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/standard-themes 73b76c1383 1/6: Replace cl-remove-if-not with seq-filter |
|
Date: |
Sun, 26 Nov 2023 00:59:01 -0500 (EST) |
branch: externals/standard-themes
commit 73b76c1383a712482fb72971ee4bc00dd91a2a09
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Replace cl-remove-if-not with seq-filter
The seq library is preloaded, whereas cl-lib is not. We do not need
the latter here.
---
standard-themes.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/standard-themes.el b/standard-themes.el
index 739ecff431..ef714272b6 100644
--- a/standard-themes.el
+++ b/standard-themes.el
@@ -625,11 +625,9 @@ symbol, which is safe when used as a face attribute's
value."
value
'unspecified))
-(declare-function cl-remove-if-not "cl-seq" (cl-pred cl-list &rest cl-keys))
-
(defun standard-themes--list-enabled-themes ()
"Return list of `custom-enabled-themes' with standard- prefix."
- (cl-remove-if-not
+ (seq-filter
(lambda (theme)
(string-prefix-p "standard-" (symbol-name theme)))
custom-enabled-themes))
@@ -644,7 +642,7 @@ symbol, which is safe when used as a face attribute's
value."
(defun standard-themes--list-known-themes ()
"Return list of `custom-known-themes' with standard- prefix."
(standard-themes--enable-themes)
- (cl-remove-if-not
+ (seq-filter
(lambda (theme)
(string-prefix-p "standard-" (symbol-name theme)))
custom-known-themes))
- [elpa] externals/standard-themes updated (fba33e8178 -> ce807c3b55), ELPA Syncer, 2023/11/26
- [elpa] externals/standard-themes 73b76c1383 1/6: Replace cl-remove-if-not with seq-filter,
ELPA Syncer <=
- [elpa] externals/standard-themes ce807c3b55 6/6: Greatly expand the subset of coloured backgrounds, ELPA Syncer, 2023/11/26
- [elpa] externals/standard-themes c199023022 4/6: DEPRECATE standard-themes-links; use palette overrides instead, ELPA Syncer, 2023/11/26
- [elpa] externals/standard-themes be334449f2 3/6: DEPRECATE standard-themes-region; use palette overrides instead, ELPA Syncer, 2023/11/26
- [elpa] externals/standard-themes b25ea35a3a 2/6: DEPRECATE standard-themes-fringes; use palette overrides instead, ELPA Syncer, 2023/11/26
- [elpa] externals/standard-themes 9dce7da07d 5/6: DEPRECATE standard-themes-mode-line-accented; use palette overrides instead, ELPA Syncer, 2023/11/26