]> git.eshelyaron.com Git - emacs.git/commit
Allow font-spec in 'face-font-rescale-alist' set at startup
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Feb 2024 10:04:07 +0000 (12:04 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 15 Feb 2024 10:08:46 +0000 (11:08 +0100)
commitae6b4765f545513b13debbb165b2ee79577d5cf7
tree372963de3e4895295657947f1a46fe54d1488ccd
parente1dae4918bdc8c9a86d8d32746898d70f4eaf1da
Allow font-spec in 'face-font-rescale-alist' set at startup

* lisp/startup.el (startup--rescale-elt-match-p): New function.
(normal-top-level): Use it, instead of the naive 'string-match-p',
to match the default font against the elements of
'face-font-rescale-alist'.  Reported by Rahguzar
<rahguzar@zohomail.eu>.

(cherry picked from commit 3d6137116f6be8ee38f9f49c9811b97ef92e0e58)
lisp/startup.el