help-gnu-emacs
[Top][All Lists]
Advanced

[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: Thu, 05 Apr 2018 21:40:28 +0300

> From: Michał Kondraciuk <k.michal@zoho.com>
> Cc: help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca
> Date: Thu, 5 Apr 2018 20:06:34 +0200
> 
> (while t
>    (with-temp-buffer
>      (setq buffer-undo-list nil)
>      (insert "a")
>      (print (length undo-auto--undoably-changed-buffers)
>          #'external-debugging-output)))
> 
> The variable undo-auto--undoably-changed-buffers was storing a lot of 
> killed buffers.

Maybe kill-buffer should remove that buffer's reference from the list,
then.



reply via email to

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