]> git.eshelyaron.com Git - emacs.git/commit
Allow users to opt out of following Windows Dark mode
authorEli Zaretskii <eliz@gnu.org>
Sat, 27 Jan 2024 17:11:22 +0000 (19:11 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:09:19 +0000 (21:09 +0100)
commitbd3fe03d2da1d06cf3e32a2128bc82382cec33c8
tree507b159a767d48b3d25cba8123e39bec1eb4dff9
parentac95aadcdc197f4fdf9f78afabfd668624206283
Allow users to opt out of following Windows Dark mode

* src/w32fns.c (globals_of_w32fns) <w32-follow-system-dark-mode>:
New variable.
(w32_applytheme): Disable application of Dark mode if
'w32-follow-system-dark-mode' is nil.

* etc/NEWS:
* doc/emacs/msdos.texi (Windows Misc): Document
'w32-follow-system-dark-mode'.

(cherry picked from commit 58f0603d40d238383aaa911eb09b3e2809177bfa)
doc/emacs/msdos.texi
etc/NEWS
lisp/cus-start.el
src/w32fns.c