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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30103: docstring of read-only-mode doesn't seem to address most simp


From: Lars Ingebrigtsen
Subject: bug#30103: docstring of read-only-mode doesn't seem to address most simplest case
Date: Tue, 17 Apr 2018 22:48:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> The following docstring
> -------------
> read-only-mode is an interactive compiled Lisp function in
> ‘simple.el’.
>
> It is bound to C-x C-q.
>
> (read-only-mode &optional ARG)
>
> Change whether the current buffer is read-only.
> With prefix argument ARG, make the buffer read-only if ARG is
> positive, otherwise make it writable.
> -------------
> doesn't seem to address the case
> where one just does
> M-x read-only-mode
> which indeed makes the buffer read-only.

The first line of the doc string says what it does?  "Change whether the
current buffer is read-only."  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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