]> git.eshelyaron.com Git - emacs.git/commit
Cache color lookup failures as well
authorPo Lu <luangruo@yahoo.com>
Sat, 7 May 2022 09:01:44 +0000 (17:01 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 7 May 2022 09:01:44 +0000 (17:01 +0800)
commit2fe4523518db061067b62b004e619e91653bb36a
tree960ffe8d0a6b2eae277ef823c50ac4496ba23f1e
parent293a97d61e1977440f96b7fc91f281a06250ea72
Cache color lookup failures as well

* src/xterm.c (x_parse_color): Cache color lookup failures too.
* src/xterm.h (struct color_name_cache_entry): New field
`valid'.
src/xterm.c
src/xterm.h