branch: externals/org commit 73e332a307276fa09d7fb8c1ab9684475c8e6069 Merge: 3cbd9f4233 a25d00d5df Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
Merge branch 'bugfix' --- lisp/org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/org.el b/lisp/org.el index 6abb2db958..0c7fef0fa9 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -17950,6 +17950,8 @@ If INDENT is non-nil, call `newline-and-indent' with ARG to indent unconditionally; otherwise, call `newline' with ARG and INTERACTIVE, which can trigger indentation if `electric-indent-mode' is enabled." + (when interactive + (org-fold-check-before-invisible-edit 'insert)) (if indent (org-newline-and-indent arg) (newline arg interactive)))