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

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

[elpa] externals/indent-bars 29b7bdc8f9 204/431: Return nil from font-lo


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 29b7bdc8f9 204/431: Return nil from font-lock face expression functions
Date: Mon, 16 Sep 2024 12:59:29 -0400 (EDT)

branch: externals/indent-bars
commit 29b7bdc8f92103bfe0a3394c9e243275b7110945
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    Return nil from font-lock face expression functions
---
 indent-bars.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/indent-bars.el b/indent-bars.el
index 239fc12940..59c5af63a3 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1051,7 +1051,8 @@ STYLE, SWITCH-AFTER and STYLE2 are as in
              (goto-char b)
              (indent-bars--current-indentation-depth))))
     (when (> n 0) (indent-bars--draw-line style n b e nil
-                                         switch-after style2))))
+                                         switch-after style2))
+    nil))
 
 (defsubst indent-bars--context-bars (end)
   "Maximum number of bars at point and END.
@@ -1088,7 +1089,8 @@ configured by default in 
`indent-bars--handle-blank-lines-form'."
            (unless (= ep pm)
              (indent-bars--draw-line style ctxbars bp ep 'invent
                                      switch-after style2))
-           (beginning-of-line 2)))))))
+           (beginning-of-line 2)))))
+    nil))
 
 (defvar font-lock-beg) (defvar font-lock-end) ; Dynamic font-lock variables!
 (defun indent-bars--extend-blank-line-regions ()



reply via email to

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