Mercurial > emacs
changeset 100201:4e81f7c8bb2c
(toggle-read-only): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 04 Dec 2008 06:13:19 +0000 |
parents | 84fb073c79f6 |
children | d2b36bcb9a82 |
files | lisp/ChangeLog lisp/files.el |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Dec 04 03:24:41 2008 +0000 +++ b/lisp/ChangeLog Thu Dec 04 06:13:19 2008 +0000 @@ -1,3 +1,7 @@ +2008-12-04 Glenn Morris <rgm@gnu.org> + + * files.el (toggle-read-only): Doc fix. + 2008-12-03 Stefan Monnier <monnier@iro.umontreal.ca> * apropos.el (apropos-print-doc): Fix thinko that caused long labels to
--- 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