aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-12-04 06:13:19 +0000
committerGlenn Morris2008-12-04 06:13:19 +0000
commit8bfbd1327ba950e6d16f76aa5681e21a52e148ff (patch)
treef12335e6e320994475bde4ac79816d805825c3d0
parent3e551df73c280204006d99648c08281256dfae6a (diff)
downloademacs-8bfbd1327ba950e6d16f76aa5681e21a52e148ff.tar.gz
emacs-8bfbd1327ba950e6d16f76aa5681e21a52e148ff.zip
(toggle-read-only): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/files.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 776db585041..92cefd19be8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-12-04 Glenn Morris <rgm@gnu.org>
2
3 * files.el (toggle-read-only): Doc fix.
4
12008-12-03 Stefan Monnier <monnier@iro.umontreal.ca> 52008-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * apropos.el (apropos-print-doc): Fix thinko that caused long labels to 7 * apropos.el (apropos-print-doc): Fix thinko that caused long labels to
diff --git a/lisp/files.el b/lisp/files.el
index 1abc5de5aa2..ba281a908a1 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4404,9 +4404,9 @@ prints a message in the minibuffer. Instead, use `set-buffer-modified-p'."
4404 (set-buffer-modified-p arg)) 4404 (set-buffer-modified-p arg))
4405 4405
4406(defun toggle-read-only (&optional arg) 4406(defun toggle-read-only (&optional arg)
4407 "Change whether this buffer is visiting its file read-only. 4407 "Change whether this buffer is read-only.
4408With prefix argument ARG, make the buffer read-only if ARG is 4408With prefix argument ARG, make the buffer read-only if ARG is
4409positive, otherwise make it writable. If visiting file read-only 4409positive, otherwise make it writable. If buffer is read-only
4410and `view-read-only' is non-nil, enter view mode." 4410and `view-read-only' is non-nil, enter view mode."
4411 (interactive "P") 4411 (interactive "P")
4412 (if (and arg 4412 (if (and arg