emacs-devel
[Top][All Lists]
Advanced

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

Re: undo weirdness with insert-file-contents


From: Glenn Morris
Subject: Re: undo weirdness with insert-file-contents
Date: Thu, 28 Feb 2008 15:28:50 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

martin rudalics wrote:

> Bill, please try whether the attached patch works.

Works for me. However the behaviour differs from Emacs 22:

(progn
  (pop-to-buffer "foo")
  (insert-file-contents "/etc/issue")
  (goto-char (point-max))
  (insert-file-contents "/etc/issue"))
M-x undo

now works in both 22 and 23, but in 22 the buffer is marked as not
modified after undo. It 23 it is marked as modified.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]