mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 19:37:52 +00:00
org-fold: Do not fold text inserted right after outline fold
* lisp/org-fold.el (org-fold-initialize): Do not extend the fold when text is inserted right after it. This resembles folding overlay behavior used in previous Org versions and in the 'overlays `org-fold-core-style'. Fixes https://orgmode.org/list/871quprrra.fsf@gmail.com
This commit is contained in:
parent
3b7523acd0
commit
39005dc098
|
@ -223,9 +223,11 @@ smart Make point visible, and do insertion/deletion if it is
|
|||
(:isearch-open . t)
|
||||
;; This is needed to make sure that inserting a
|
||||
;; new planning line in folded heading is not
|
||||
;; revealed.
|
||||
;; revealed. Also, the below combination of :font-sticky and
|
||||
;; :real-sticky conforms to the overlay properties in outline.el
|
||||
;; and the older Org versions as in `outline-flag-region'.
|
||||
(:front-sticky . t)
|
||||
(:rear-sticky . t)
|
||||
(:rear-sticky . nil)
|
||||
(:font-lock-skip . t)
|
||||
(:alias . (headline heading outline inlinetask plain-list)))
|
||||
(org-fold-block
|
||||
|
|
Loading…
Reference in a new issue