[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: when nothing happens, buffer still marked as modified
From: |
Eli Zaretskii |
Subject: |
Re: when nothing happens, buffer still marked as modified |
Date: |
Wed, 05 Dec 2018 10:22:36 +0200 |
> From: Emanuel Berg <moasenwood@zoho.eu>
> Date: Wed, 05 Dec 2018 08:23:24 +0100
>
> > Use with-silent-modifications, or just manually
> > mark the buffer unmodified using
> > set-buffer-modified-p, when the function is
> > about to return.
>
> But how do I determine if the buffer has
> changed or not? If it has, of course it should
> be marked `**'!
That's the same problem that M-q has, and it leaves the modified
status intact. Why not do as it does?
You could, of course, save a copy of the buffer before the changes,
and then compare, but why bother?
- when nothing happens, buffer still marked as modified, Emanuel Berg, 2018/12/04
- Re: when nothing happens, buffer still marked as modified, Eli Zaretskii, 2018/12/05
- Message not available
- Re: when nothing happens, buffer still marked as modified, Emanuel Berg, 2018/12/05
- Re: when nothing happens, buffer still marked as modified,
Eli Zaretskii <=
- Message not available
- Re: when nothing happens, buffer still marked as modified, Emanuel Berg, 2018/12/05
- Re: when nothing happens, buffer still marked as modified, Eli Zaretskii, 2018/12/05
- Re: when nothing happens, buffer still marked as modified, Amin Bandali, 2018/12/05
- Re: when nothing happens, buffer still marked as modified, Eli Zaretskii, 2018/12/05
- Re: when nothing happens, buffer still marked as modified, Joost Kremers, 2018/12/05
- Re: when nothing happens, buffer still marked as modified, Eli Zaretskii, 2018/12/05
- Re: when nothing happens, buffer still marked as modified, Michael Heerdegen, 2018/12/05
- Message not available
- Re: when nothing happens, buffer still marked as modified, Emanuel Berg, 2018/12/05
- Re: when nothing happens, buffer still marked as modified, Michael Heerdegen, 2018/12/05
- Message not available
- Re: when nothing happens, buffer still marked as modified, Emanuel Berg, 2018/12/05