forked from mirrors/org-mode
Merge branch 'bugfix'
This commit is contained in:
commit
73e332a307
|
@ -17950,6 +17950,8 @@ If INDENT is non-nil, call `newline-and-indent' with ARG to
|
||||||
indent unconditionally; otherwise, call `newline' with ARG and
|
indent unconditionally; otherwise, call `newline' with ARG and
|
||||||
INTERACTIVE, which can trigger indentation if
|
INTERACTIVE, which can trigger indentation if
|
||||||
`electric-indent-mode' is enabled."
|
`electric-indent-mode' is enabled."
|
||||||
|
(when interactive
|
||||||
|
(org-fold-check-before-invisible-edit 'insert))
|
||||||
(if indent
|
(if indent
|
||||||
(org-newline-and-indent arg)
|
(org-newline-and-indent arg)
|
||||||
(newline arg interactive)))
|
(newline arg interactive)))
|
||||||
|
|
Loading…
Reference in a new issue