[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 928f2d7fb0 2/3: Revert "org-return: Do not insert i
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 928f2d7fb0 2/3: Revert "org-return: Do not insert inside folded region" |
Date: |
Sat, 19 Aug 2023 03:58:09 -0400 (EDT) |
branch: externals/org
commit 928f2d7fb03e0932f3280af7a5087a564eaaf5e6
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
Revert "org-return: Do not insert inside folded region"
This reverts commit a25d00d5dff6c162b1bb7542201c590052d267fa.
Direct call to `org-fold-check-before-invisible-edit' is no longer
necessary on main. We use `org-fold-catch-invisible-edits-commands'.
---
lisp/org.el | 2 --
1 file changed, 2 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index 0c7fef0fa9..6abb2db958 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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)))