Function: track-changes-inconsistent-state-p

track-changes-inconsistent-state-p is a byte-compiled function defined in track-changes.el.gz.

Signature

(track-changes-inconsistent-state-p)

Documentation

Return whether the current buffer is in an inconsistent state.

Ideally before/after-change-functions should be called for each and every buffer change, but some packages make transient changes without running those hooks. This function tries to detect those situations so clients can decide to postpone their work to a later time when the buffer is hopefully returned to a consistent state.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/track-changes.el.gz
(defun track-changes-inconsistent-state-p ()
  "Return whether the current buffer is in an inconsistent state.
Ideally `before/after-change-functions' should be called for each and every
buffer change, but some packages make transient changes without
running those hooks.
This function tries to detect those situations so clients can decide
to postpone their work to a later time when the buffer is hopefully
returned to a consistent state."
  (or (not (equal track-changes--buffer-size (buffer-size)))
      inhibit-modification-hooks))