[Top][All Lists]

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

Re: Question about memory usage

From: Eli Zaretskii
Subject: Re: Question about memory usage
Date: Wed, 04 Apr 2018 09:55:48 +0300

> From: Michał Kondraciuk <address@hidden>
> Date: Tue, 3 Apr 2018 21:16:41 +0200
> > To disable undo, you should bind buffer-undo-list to t, not to nil.
> > And with-temp-buffer already does that, because temporary buffers have
> > their undo disabled by default.
> I know that, I meant it's common to see code like this in some packages, 
> especially when the buffer is actually displayed.
> > Did you try not setting buffer-undo-list at all?  What did you see
> > then?
> Emacs behaves as expected, i.e. memory usage is ~20MB all the time.

OK, so what is your question now?  Are you asking, like Stefan, why
setting buffer-undo-list to nil in this case makes a difference, or
are you asking a more general question (and if the latter, what are
you asking)?

reply via email to

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