Mercurial > emacs
diff lisp/faces.el @ 3049:314cb8d34dcd
(x-create-frame-with-faces): Handle `reverse' as parameter.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 25 May 1993 02:28:03 +0000 |
parents | c6c6e476d93d |
children | 68de05fb5751 |
line wrap: on
line diff
--- a/lisp/faces.el Tue May 25 02:18:33 1993 +0000 +++ b/lisp/faces.el Tue May 25 02:28:03 1993 +0000 @@ -724,6 +724,17 @@ (rest faces)) (set-frame-face-alist frame faces) + (if (cdr (or (assq 'reverse parameters) + (assq 'reverse default-frame-alist))) + (let ((params (frame-parameters frame))) + (modify-frame-parameters + frame + (list (cons 'foreground-color (cdr (assq 'background-color params))) + (cons 'background-color (cdr (assq 'foreground-color params))) + (cons 'mouse-color (cdr (assq 'background-color params))) + (cons 'cursor-color (cdr (assq 'background-color params))) + (cons 'border-color (cdr (assq 'background-color params))))))) + ;; Copy the vectors that represent the faces. ;; Also fill them in from X resources. (while rest