[Top][All Lists]

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

Re: Undo-boundary in emacs

From: Phillip Lord
Subject: Re: Undo-boundary in emacs
Date: Fri, 23 Sep 2016 15:43:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Narendra Joshi <> writes:
> I have been trying to figure out where in the source of emacs this is
> happening:
> I am trying to understand what were the design goals that caused such
> things to happen?
> Why does change in a buffer cause every other buffer to have a
> undo-boundary? What would happen if this wasn't the case?

This doesn't happen in Emacs-25, largely to address the use case you are

It was caused by this code in undo.c

if (current_buffer != last_undo_buffer)
    Fundo_boundary ();
last_undo_buffer = current_buffer;

Most of the code handling automatic undo boundaries is now in simple.el.


reply via email to

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