Function: org-fold-core--region-delayed

org-fold-core--region-delayed is a byte-compiled function defined in org-fold-core.el.gz.

Signature

(org-fold-core--region-delayed FROM TO FLAG &optional SPEC-OR-ALIAS)

Documentation

Call org-fold-core-region after current command.

Pass the same FROM, TO, FLAG, and SPEC-OR-ALIAS.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-fold-core.el.gz
(defun org-fold-core--region-delayed (from to flag &optional spec-or-alias)
  "Call `org-fold-core-region' after current command.
Pass the same FROM, TO, FLAG, and SPEC-OR-ALIAS."
  ;; Setup delayed folding.
  (add-hook 'post-command-hook #'org-fold-core--process-delayed)
  (let ((frommk (make-marker))
        (tomk (make-marker)))
    (set-marker frommk from (current-buffer))
    (set-marker tomk to (current-buffer))
    (push (list frommk tomk flag spec-or-alias) org-fold-core--region-delayed-list)))