branch: externals/org-modern
commit d5e1f5af65cce53113e017d319edaff25641e15b
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Avoid truncation due to org-modern-horizontal-rule
---
 org-modern.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-modern.el b/org-modern.el
index f5850dd63c..84fd9c62f1 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -742,7 +742,7 @@ whole buffer; otherwise, for the line at point."
      `(("^[ \t]*-\\{5,\\}$" 0
         '(face org-modern-horizontal-rule display
                ,(if (eq org-modern-horizontal-rule t)
-                    '(space :width text)
+                    '(space :width (- text 1))
                   org-modern-horizontal-rule)))))
    (when org-modern-table
      '(("^[ \t]*\\(|.*|\\)[ \t]*$" (0 (org-modern--table)))))

Reply via email to