Commit 8bfbd132 authored by Glenn Morris's avatar Glenn Morris
Browse files

(toggle-read-only): Doc fix.

parent 3e551df7
2008-12-04 Glenn Morris <>
* files.el (toggle-read-only): Doc fix.
2008-12-03 Stefan Monnier <>
* apropos.el (apropos-print-doc): Fix thinko that caused long labels to
......@@ -4404,9 +4404,9 @@ prints a message in the minibuffer. Instead, use `set-buffer-modified-p'."
(set-buffer-modified-p arg))
(defun toggle-read-only (&optional arg)
"Change whether this buffer is visiting its file read-only.
"Change whether this buffer is read-only.
With prefix argument ARG, make the buffer read-only if ARG is
positive, otherwise make it writable. If visiting file read-only
positive, otherwise make it writable. If buffer is read-only
and `view-read-only' is non-nil, enter view mode."
(interactive "P")
(if (and arg
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment