Function: ibuffer-do-toggle-read-only

ibuffer-do-toggle-read-only is an interactive and byte-compiled function defined in ibuffer.el.gz.

Signature

(ibuffer-do-toggle-read-only &optional ARG)

Documentation

Toggle read only status in marked buffers.

If optional ARG is a non-negative integer, make buffers read only. If ARG is a negative integer or 0, make buffers writable. Otherwise, toggle read only status.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ibuffer.el.gz
(define-ibuffer-op ibuffer-do-toggle-read-only (&optional arg)
  "Toggle read only status in marked buffers.
If optional ARG is a non-negative integer, make buffers read only.
If ARG is a negative integer or 0, make buffers writable.
Otherwise, toggle read only status."
  (:opstring "toggled read only status in"
   :interactive "P"
   :modifier-p t)
  (read-only-mode (if (integerp arg) arg 'toggle)))