emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: pending-undo-list is not buffer local


From: martin rudalics
Subject: Re: pending-undo-list is not buffer local
Date: Sun, 22 Apr 2007 11:22:26 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> If those calls are done in different buffers it looks like trouble to
> me. Should not pending-undo-list be buffer local?

Not by default.  If you want to write a function which say, tries to
undo changes simultaneously in two or more buffers in some lock-step
fashion, you can always make it local yourself (and probably
`undo-in-region' as well).

> I think for the reason above that it should be buffer local and I also
> think that it should be permanent buffer local then.

I think this wouldn't make much sense since `buffer-undo-list' isn't
permanently buffer-local either.





reply via email to

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