Function: diff-undo

diff-undo is an interactive and byte-compiled function defined in diff-mode.el.gz.

Signature

(diff-undo &optional ARG)

Documentation

Perform undo, ignoring the buffer's read-only status.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/diff-mode.el.gz
(defun diff-undo (&optional arg)
  "Perform `undo', ignoring the buffer's read-only status."
  (interactive "P")
  (let ((inhibit-read-only t))
    (undo arg)))