Revert "org-return: Do not insert inside folded region"
This reverts commit a25d00d5df
.
Direct call to `org-fold-check-before-invisible-edit' is no longer
necessary on main. We use `org-fold-catch-invisible-edits-commands'.
This commit is contained in:
parent
73e332a307
commit
928f2d7fb0
|
@ -17950,8 +17950,6 @@ 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)))
|
||||
|
|
Loading…
Reference in New Issue