; * doc/lispref/commands.texi (Interactive Codes): More examples of '*'.

This commit is contained in:
Eli Zaretskii 2026-06-25 09:48:52 +03:00
parent ea87a99b84
commit 2c5b4911b3

View file

@ -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.