branch: externals/org-modern commit 148d55293f9b39f7bfba427effdbafcd872fdb00 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Improve block fontification --- org-modern.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org-modern.el b/org-modern.el index 8997282d0e..d6ca406968 100644 --- a/org-modern.el +++ b/org-modern.el @@ -429,7 +429,7 @@ You can specify a font `:family'. The font families `Iosevka', `Hack' and (save-excursion (goto-char (match-beginning 0)) (add-text-properties - (point) (min (1+ (line-end-position)) (point-max)) + (point) (min (line-end-position) (point-max)) '(wrap-prefix #(" " 0 1 (display (left-fringe org-modern--block-begin org-block-begin-line))) line-prefix @@ -443,7 +443,7 @@ You can specify a font `:family'. The font families `Iosevka', `Hack' and (re-search-forward "^[ \t]*#\\+end_" (line-end-position) 'noerror))) (add-text-properties - (point) (min (1+ (line-end-position)) (point-max)) + (point) (min (line-end-position) (point-max)) '(wrap-prefix #(" " 0 1 (display (left-fringe org-modern--block-end org-block-begin-line))) line-prefix