[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1434: Docstring for `toggle-read-only' shouldn't imply the buffer is
bug#1434: Docstring for `toggle-read-only' shouldn't imply the buffer is file-visiting
Thu, 4 Dec 2008 01:04:00 +0100
On Thu, Dec 4, 2008 at 00:58, Glenn Morris <address@hidden> wrote:
> So let's change it?
> --- 4404,4412 ----
> (set-buffer-modified-p arg))
> (defun toggle-read-only (&optional arg)
> ! "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 buffer is read-only
> and `view-read-only' is non-nil, enter view mode."
> (interactive "P")
> (if (and arg