branch: externals/org-modern
commit 1e4a4d0f15bfbee397ae52af249f66460eb3d82c
Author: JD Smith <93749+jdtsm...@users.noreply.github.com>
Commit: JD Smith <93749+jdtsm...@users.noreply.github.com>

    Use = not eq
---
 org-modern-indent.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-modern-indent.el b/org-modern-indent.el
index 5d2393acec..05d9a4c311 100644
--- a/org-modern-indent.el
+++ b/org-modern-indent.el
@@ -63,7 +63,7 @@ plain lists), or `line-prefix' brackets, when the #+begin 
part of
 the block is flush left in the buffer."
   (save-excursion
     (goto-char (match-beginning 0))
-    (if (eq (length (match-string 1)) 0)
+    (if (= (length (match-string 1)) 0)
        (org-modern-indent--block-bracket-flush)
       (org-modern-indent--block-bracket-indented)))
   nil)
@@ -128,7 +128,7 @@ of the returned vector.  If PREFIX is nil or empty, nil is 
returned."
                               `(line-prefix ,pf wrap-prefix ,pf))) ; restore
        (put-text-property pind (1+ pind) 'org-modern-indent-block-type 
'indent))
      
-      (put-text-property (point) block-indent 'face nil)
+      (put-text-property (point) (1- block-indent) 'face nil)
       (put-text-property (1- block-indent) block-indent
                         'display org-modern-indent-begin)
       (while

Reply via email to