Commit ba7eadda authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

to update the background mode of existing frames.
parent e042d829
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment