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

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

bug#21171: 25.0.50; Please document (and index) `with-silent-modificatio


From: Lars Ingebrigtsen
Subject: bug#21171: 25.0.50; Please document (and index) `with-silent-modifications' in Elisp manual
Date: Sat, 30 Apr 2016 23:36:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

>> Subject line says it all.
>
> Nope.  And please state explicitly everything that it does -
> just what it saves and restores, inhibits, etc.  Otherwise,
> from the simple doc string alone it is not obvious what
> code (bindings etc.) this can replace.  Yes, a user can
> consult the source code, but there is no reason not to
> describe what it does in more detail than just "pretending
> it does not modify the buffer".

There is one use case only for the macro: Adding text properties to the
buffer without having the buffer-modified flag go off.

I've now rearranged the doc string to make that clearer.

-- 
(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]