1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00

(frame-background-mode): Define a :set function

to update the background mode of existing frames.
This commit is contained in:
Richard M. Stallman 1998-05-20 00:40:19 +00:00
parent e042d829e1
commit ba7eaddad2

View File

@ -1432,6 +1432,10 @@ Set this to the symbol dark if your background color is dark, light if
your background is light, or nil (default) if you want Emacs to
examine the brightness for you."
:group 'faces
:set #'(lambda (var value)
(set var value)
(mapcar 'frame-set-background-mode (frame-list)))
:initialize 'custom-initialize-changed
:type '(choice (choice-item dark)
(choice-item light)
(choice-item :tag "default" nil)))