]> git.eshelyaron.com Git - emacs.git/commit
Compute chart-face-list dynamically
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 18 Mar 2021 10:15:50 +0000 (11:15 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 18 Mar 2021 10:15:50 +0000 (11:15 +0100)
commit4eb030319725cfe7fe17049e91fdbed2e222a3c9
tree9b049baef6fc457f11e2238fd0a3e2be77ec60fe
parent869b3efe1e4b72b060d1eb495e17f28008bcbeaf
Compute chart-face-list dynamically

* lisp/emacs-lisp/chart.el (chart-face-list): Allow a function as
the value (bug#47133) so that we can compute the faces dynamically
on different displays.
(chart--face-list): New function.
(chart-draw-data): Use it.
lisp/emacs-lisp/chart.el