Function: allout-before-change-handler

allout-before-change-handler is a byte-compiled function defined in allout.el.gz.

Signature

(allout-before-change-handler BEG END)

Documentation

Protect against changes to invisible text.

See allout-overlay-interior-modification-handler for details.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  > allout-before-change-handler (beg end)
(defun allout-before-change-handler (_beg _end)
  "Protect against changes to invisible text.

See `allout-overlay-interior-modification-handler' for details."

  (when (and (allout-mode-p) undo-in-progress)
    (setq allout-just-did-undo t)
    (if (allout-hidden-p)
        (allout-show-children))))