bug-gnu-emacs
[Top][All Lists]
Advanced

[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


From: Juanma Barranquero
Subject: bug#1434: Docstring for `toggle-read-only' shouldn't imply the buffer is file-visiting
Date: Wed, 26 Nov 2008 16:37:31 +0100

Package: emacs
Severity: minor

Most references to readonly-ness in files.el do talk about
file-visiting buffers, which makes sense. However, `toggle-read-only'
is useful for non-visiting buffers too, though the docstring seems to
imply otherwise.

Docstring for `toggle-read-only' says:

 Change whether this buffer is visiting its file read-only.
 With prefix argument ARG, make the buffer read-only if ARG is
 positive, otherwise make it writable.  If visiting file read-only
 and `view-read-only' is non-nil, enter view mode.


   Juanma







reply via email to

[Prev in Thread] Current Thread [Next in Thread]