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

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

[nongnu] elpa/treesit-fold 7667a37644 268/417: fix(indicators): Warning


From: ELPA Syncer
Subject: [nongnu] elpa/treesit-fold 7667a37644 268/417: fix(indicators): Warning 'when' with empty body
Date: Mon, 1 Jul 2024 10:02:34 -0400 (EDT)

branch: elpa/treesit-fold
commit 7667a376449174714574c18f179f8d604860f138
Author: JenChieh <jcs090218@gmail.com>
Commit: JenChieh <jcs090218@gmail.com>

    fix(indicators): Warning 'when' with empty body
---
 ts-fold-indicators.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ts-fold-indicators.el b/ts-fold-indicators.el
index 49beeab85d..40ff595e0f 100644
--- a/ts-fold-indicators.el
+++ b/ts-fold-indicators.el
@@ -142,7 +142,8 @@
         (global-ts-fold-mode 1)
         (dolist (buf (buffer-list))
           (with-current-buffer buf
-            (when (and ts-fold-mode (not ts-fold-indicators-mode) 
(ts-fold-indicators-mode))))))
+            (when (and ts-fold-mode (not ts-fold-indicators-mode))
+              (ts-fold-indicators-mode)))))
     (remove-hook 'ts-fold-mode-hook #'ts-fold-indicators-mode)))
 
 ;;



reply via email to

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