Mercurial > emacs
diff lisp/faces.el @ 22152:3aff676c3ea3
(frame-background-mode): Define a :set function
to update the background mode of existing frames.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 20 May 1998 00:40:19 +0000 |
parents | 0e8886335c4b |
children | d06567759809 |
line wrap: on
line diff
--- a/lisp/faces.el Wed May 20 00:39:09 1998 +0000 +++ b/lisp/faces.el Wed May 20 00:40:19 1998 +0000 @@ -1432,6 +1432,10 @@ 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)))