-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the full org-fold-core API when
org-fold-core-style' is
overlays'
The old fallback folding mechanism was re-using old function versions to work with overlay folds directly. Switch to using org-fold-core API instead. This avoids code duplication. * lisp/ol.el (org-toggle-link-display--overlays): Merge overlay and text-property versions. (org-toggle-link-display--text-properties): (org-toggle-link-display): * lisp/org-cycle.el (org-cycle-overview--overlays): (org-cycle-overview--text-properties): (org-cycle-overview): (org-cycle-content--text-properties): (org-cycle-content): (org-cycle-content--overlays): * lisp/org-element.el (org-element-swap-A-B--overlays): (org-element-swap-A-B): (org-element-swap-A-B--text-properties): * lisp/org-fold.el (org-fold-save-outline-visibility--overlays): (org-fold-save-outline-visibility--text-properties): (org-fold-save-outline-visibility): (org-fold-region--overlays): (org-fold-region): (org-fold-show-all--text-properties): (org-fold-show-all--overlays): (org-fold-show-all): (org-fold-show-branches-buffer--text-properties): (org-fold-show-branches-buffer): (org-fold-show-branches-buffer--overlays): (org-fold--hide-drawers--overlays): (org-fold--hide-drawers--text-properties): (org-fold--hide-drawers): (org-fold-show-set-visibility--overlays): (org-fold-show-set-visibility--text-properties): (org-fold-show-set-visibility): (org-fold-check-before-invisible-edit--overlays): (org-fold-check-before-invisible-edit--text-properties): (org-fold-check-before-invisible-edit): (org-fold--hide-wrapper-toggle): * lisp/org-inlinetask.el (org-inlinetask-toggle-visibility--text-properties): (org-inlinetask-toggle-visibility): (org-inlinetask-toggle-visibility--overlays): * lisp/org-list.el (org-list-swap-items--text-properties): (org-list-swap-items): (org-list-swap-items--overlays): * lisp/org-macs.el (org-invisible-p--text-properties): (org-invisible-p): (org-invisible-p--overlays): (org-find-visible--overlays): (org-find-visible--text-properties): (org-find-visible): (org-find-invisible--overlays): (org-find-invisible--text-properties): (org-find-invisible): * lisp/org.el (org-next-visible-heading--overlays): (org-next-visible-heading--text-properties): (org-next-visible-heading): (org--forward-paragraph-once--overlays): (org--forward-paragraph-once--text-properties): (org--forward-paragraph-once): (org--backward-paragraph-once--overlays): (org--backward-paragraph-once--text-properties): (org--backward-paragraph-once): * testing/lisp/test-org.el (test-org/drag-element-backward): (test-org/drag-element-forward): Update tests.
- Loading branch information
Showing
10 changed files
with
71 additions
and
845 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.