Function: gnus-disable-undo

gnus-disable-undo is an interactive and byte-compiled function defined in gnus-undo.el.gz.

Signature

(gnus-disable-undo &optional BUFFER)

Documentation

Disable undoing in the current buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-undo.el.gz
;;; Interface functions.

(defun gnus-disable-undo (&optional buffer)
  "Disable undoing in the current buffer."
  (interactive)
  (save-excursion
    (when buffer
      (set-buffer buffer))
    (gnus-undo-mode -1)))