summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-git.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-05-27 09:40:40 +0800
committerPo Lu <luangruo@yahoo.com>2022-05-27 09:40:40 +0800
commitc0807daedc22812add26f9f9be8d9b68afac1217 (patch)
treebd6855b19f3cd9d2abeec55eec93ad84d7850a1d /lisp/vc/vc-git.el
parent8dcebc96299149845d63e23f27c75a1ecc0b3538 (diff)
downloademacs-c0807daedc22812add26f9f9be8d9b68afac1217.tar.gz
emacs-c0807daedc22812add26f9f9be8d9b68afac1217.tar.bz2
emacs-c0807daedc22812add26f9f9be8d9b68afac1217.zip
Improve lookup efficiency of color cache and prevent leaking
* src/xterm.c (x_parse_color): Move recently used colors to the start of the cache and free unused entries when there are too many. (x_term_init, x_delete_display): Initialize and free new fields. * src/xterm.h (struct x_display_info): New field `color_names_length'.
Diffstat (limited to 'lisp/vc/vc-git.el')
0 files changed, 0 insertions, 0 deletions