mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
; * doc/lispref/commands.texi (Interactive Codes): More examples of '*'.
This commit is contained in:
parent
ea87a99b84
commit
2c5b4911b3
|
|
@ -393,9 +393,11 @@ many Emacs primitives will signal an error if a command attempts to
|
|||
modify text of a read-only buffer, even if the command's interactive
|
||||
spec does not include @samp{*}. So this character is for when you want
|
||||
to forcibly signal an error even if the command's implementation doesn't
|
||||
invoke any primitives which modify the buffer. For example, a command
|
||||
that binds @code{inhibit-read-only} non-@code{nil} (because it affects
|
||||
more than just read-only buffers), or a command which, depending on the
|
||||
invoke any primitives which modify the buffer, or if you want to avoid
|
||||
processing or side effects of a command that will fail later due to
|
||||
buffer modifications. For example, a command that binds
|
||||
@code{inhibit-read-only} non-@code{nil} (because it affects more than
|
||||
just read-only buffers), or a command which, depending on the
|
||||
conditions, might end up not modifying the buffer, but you want it to
|
||||
signal this error anyway.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue