emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/dired-preview f6bb0e3271 44/67: Add TODO to only accumm


From: ELPA Syncer
Subject: [elpa] externals/dired-preview f6bb0e3271 44/67: Add TODO to only accummulate a fixed size of buffers
Date: Sat, 8 Jul 2023 15:57:54 -0400 (EDT)

branch: externals/dired-preview
commit f6bb0e32719492b1f2ab6b2aa77973ace7d67098
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add TODO to only accummulate a fixed size of buffers
    
    Thanks to Bruno Boal for bringing this matter to my attention and for
    checking the workaround with me: <https://git.sr.ht/~bboal>.  This was
    done in a private channel and the information is shared with
    permission.
---
 dired-preview.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dired-preview.el b/dired-preview.el
index 01d962c2b9..99c2b3785c 100644
--- a/dired-preview.el
+++ b/dired-preview.el
@@ -226,6 +226,8 @@ aforementioned user option."
        (delete-window window)))
    (dired-preview--get-windows)))
 
+;; TODO 2023-07-05: We need a garbage collection function so that we
+;; do not accummulate too many buffers that exceed a given threshold.
 (defun dired-preview--kill-buffers ()
   "Kill preview buffers."
   (mapc



reply via email to

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