Function: accept-change-group

accept-change-group is a byte-compiled function defined in subr.el.gz.

Signature

(accept-change-group HANDLE)

Documentation

Finish a change group made with prepare-change-group (which see).

This finishes the change group by accepting its changes as final.

View in manual

Probably introduced at or before Emacs version 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun accept-change-group (handle)
  "Finish a change group made with `prepare-change-group' (which see).
This finishes the change group by accepting its changes as final."
  (dolist (elt handle)
    (with-current-buffer (car elt)
      (if (eq (cdr elt) t)
	  (setq buffer-undo-list t)))))