* After (set-buffer-modified-p nil), the first undo command doesn't set the buffer modified flag to true.
@ 2014-12-24 19:54 asdjh asjdh
2014-12-25 1:10 ` Óscar Fuentes
0 siblings, 1 reply; 2+ messages in thread
From: asdjh asjdh @ 2014-12-24 19:54 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
If I modify a buffer and then save it, the buffer modified flag resets and the subsequent undo commands set the buffer modified flag to true.However if I use (set-buffer-modified-p nil), the flag resets but then the first undo command doesn't set it to true.How can I get the first undo to set the buffer modified flag to true after (set-buffer-modified-p nil) ?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: After (set-buffer-modified-p nil), the first undo command doesn't set the buffer modified flag to true.
2014-12-24 19:54 After (set-buffer-modified-p nil), the first undo command doesn't set the buffer modified flag to true asdjh asjdh
@ 2014-12-25 1:10 ` Óscar Fuentes
0 siblings, 0 replies; 2+ messages in thread
From: Óscar Fuentes @ 2014-12-25 1:10 UTC (permalink / raw)
To: help-gnu-emacs
asdjh asjdh <macrossssss@yahoo.es> writes:
> If I modify a buffer and then save it, the buffer modified flag resets
> and the subsequent undo commands set the buffer modified flag to
> true.However if I use (set-buffer-modified-p nil), the flag resets but
> then the first undo command doesn't set it to true.How can I get the
> first undo to set the buffer modified flag to true after
> (set-buffer-modified-p nil) ?
I cannot replicate this problem starting with `emacs -Q' on
GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, X toolkit) of 2014-12-19
If you have a recipe for reproducing the problem starting with `emacs
-Q' or you can share the config that causes the problem, please file a
bug report with M-x report-emacs-bug
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-25 1:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-24 19:54 After (set-buffer-modified-p nil), the first undo command doesn't set the buffer modified flag to true asdjh asjdh
2014-12-25 1:10 ` Óscar Fuentes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).