unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 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

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