Function: combobulate-atomic-change-group

combobulate-atomic-change-group is a macro defined in combobulate-interface.el.

Signature

(combobulate-atomic-change-group &rest BODY)

Documentation

Re-entrant change group, like atomic-change-group.

This means that if BODY exits abnormally, all of its changes to the current buffer are undone. This works regardless of whether undo is enabled in the buffer.

This mechanism is transparent to ordinary use of undo; if undo is enabled in the buffer and BODY succeeds, the user can undo the change normally.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-interface.el
(defmacro combobulate-atomic-change-group (&rest body)
  "Re-entrant change group, like `atomic-change-group'.
This means that if BODY exits abnormally,
all of its changes to the current buffer are undone.
This works regardless of whether undo is enabled in the buffer.

This mechanism is transparent to ordinary use of undo;
if undo is enabled in the buffer and BODY succeeds, the
user can undo the change normally."
  (declare (indent 0) (debug t))
  `(combobulate-with-change-group
     ,@body))