1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
emacs/lisp/vc
Mattias Engdegård 4d57187a24 Prevent cache of diff-mode buffers to grow without bounds
Previously, these " *diff-syntax:..." buffers were never removed.
Now we discard the least recently used half of them every hour.

* lisp/vc/diff-mode.el (diff--cached-revision-buffers)
(diff--cache-clean-interval, diff--cache-clean-timer, diff--cache-clean)
(diff--cache-schedule-clean, diff--get-revision-properties): New.
(diff-syntax-fontify-hunk): Use diff--get-revision-properties.
2024-02-04 13:13:10 +01:00
..
add-log.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
compare-w.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cvs-status.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
diff-mode.el Prevent cache of diff-mode buffers to grow without bounds 2024-02-04 13:13:10 +01:00
diff.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ediff-diff.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ediff-help.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ediff-hook.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ediff-init.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ediff-merg.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ediff-mult.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ediff-ptch.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ediff-util.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ediff-vers.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ediff-wind.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ediff.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
emerge.el
log-edit.el Don't open a new line for long defuns being inserted at column 0 2024-01-29 15:45:47 +08:00
log-view.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
pcvs-defs.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pcvs-info.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pcvs-parse.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pcvs-util.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pcvs.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
smerge-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vc-annotate.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vc-bzr.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vc-cvs.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vc-dav.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vc-dir.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vc-dispatcher.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vc-filewise.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vc-git.el Add autoload cookie to vc-git-grep 2024-01-11 22:16:31 +01:00
vc-hg.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vc-hooks.el doc: Delete extraneous quotes around keys 2024-01-21 14:09:34 +01:00
vc-rcs.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vc-sccs.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vc-src.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vc-svn.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vc.el ; (vc-print-log-internal): Update docstring further 2024-01-11 01:24:17 +02:00