unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1434: Docstring for `toggle-read-only' shouldn't imply the buffer is file-visiting
@ 2008-11-26 15:37 Juanma Barranquero
  2008-11-26 18:08 ` bug#1434: Docstring for `toggle-read-only' shouldn't imply thebuffer " Drew Adams
  2008-12-03 23:58 ` bug#1434: Docstring for `toggle-read-only' shouldn't imply the buffer " Glenn Morris
  0 siblings, 2 replies; 4+ messages in thread
From: Juanma Barranquero @ 2008-11-26 15:37 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

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







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-04  0:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 15:37 bug#1434: Docstring for `toggle-read-only' shouldn't imply the buffer is file-visiting Juanma Barranquero
2008-11-26 18:08 ` bug#1434: Docstring for `toggle-read-only' shouldn't imply thebuffer " Drew Adams
2008-12-03 23:58 ` bug#1434: Docstring for `toggle-read-only' shouldn't imply the buffer " Glenn Morris
2008-12-04  0:04   ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).