diff lisp/files.el @ 100201:4e81f7c8bb2c

(toggle-read-only): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Thu, 04 Dec 2008 06:13:19 +0000
parents ce2518ab757e
children 62b6bd1722a5
line wrap: on
line diff
--- a/lisp/files.el	Thu Dec 04 03:24:41 2008 +0000
+++ b/lisp/files.el	Thu Dec 04 06:13:19 2008 +0000
@@ -4404,9 +4404,9 @@
   (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