branch: externals/modus-themes
commit b0f35918ef5e1283726cac76f364667d1b65dad5
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Reformat modus-themes--toggle-theme-p
---
modus-themes.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/modus-themes.el b/modus-themes.el
index 4f91422aa0..32f87a6806 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -1346,12 +1346,13 @@ Disable other themes per
`modus-themes-disable-other-themes'."
(defun modus-themes--toggle-theme-p ()
"Return non-nil if `modus-themes-to-toggle' are valid."
- (mapc (lambda (theme)
- (if (or (memq theme modus-themes-items)
- (memq theme (modus-themes--list-known-themes)))
- theme
- (user-error "`%s' is not part of `modus-themes-items'" theme)))
- modus-themes-to-toggle))
+ (mapc
+ (lambda (theme)
+ (if (or (memq theme modus-themes-items)
+ (memq theme (modus-themes--list-known-themes)))
+ theme
+ (user-error "`%s' is not part of `modus-themes-items'" theme)))
+ modus-themes-to-toggle))
;;;###autoload
(defun modus-themes-toggle ()