branch: externals/org-modern commit dd5ebe184de3c7d27d84676c06c859486d14fd2a Author: JD Smith <93749+jdtsm...@users.noreply.github.com> Commit: JD Smith <93749+jdtsm...@users.noreply.github.com>
Remove field since it interferes with org-element The org-element machinery makes free use of `line-beginning-position', which field properties interfere with. This causes mis-identification of blocks. Despite the advantages of providing a "field" property on the real indentation display, we remove this for now. --- org-modern-indent.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org-modern-indent.el b/org-modern-indent.el index 121d3fce8b..b4b384aac3 100644 --- a/org-modern-indent.el +++ b/org-modern-indent.el @@ -169,8 +169,7 @@ indentation. REAL-INDENT may be zero." wrap-prefix ,,wrap-prefix))) (add-guides (pbeg pend display-str) `(add-text-properties ,pbeg ,pend - `( omi/display ,,display-str field org-modern-indent - rear-nonsticky t)))) + `( omi/display ,,display-str rear-nonsticky t)))) (when (> body-start beg) ;; BEGIN (add-prefixes beg-bol body-start beg-prefix guide-prefix) (when (> real-indent 0)