Function: cua--rect-undo-handler

cua--rect-undo-handler is a byte-compiled function defined in cua-rect.el.gz.

Signature

(cua--rect-undo-handler RECT ON S E)

Source Code

;; Defined in /usr/src/emacs/lisp/emulation/cua-rect.el.gz
(defun cua--rect-undo-handler (rect on s e)
  (if (setq on (not on))
      (setq cua--rect-undo-set-point s)
    (setq cua--restored-rectangle (copy-sequence rect))
    (setq cua--buffer-and-point-before-command nil))
  (push (list 'apply 0 s (if on e s)
	      #'cua--rect-undo-handler rect on s e)
	buffer-undo-list))