branch: externals/standard-themes
commit 73b76c1383a712482fb72971ee4bc00dd91a2a09
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
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))