changeset 36485:293677d8c530

(msdos-handle-reverse-video): Look for reverse in default-frame-alist as well.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 02 Mar 2001 13:34:48 +0000
parents 6a5b8717a034
children ecb3effbc849
files lisp/term/pc-win.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/pc-win.el	Fri Mar 02 13:32:05 2001 +0000
+++ b/lisp/term/pc-win.el	Fri Mar 02 13:34:48 2001 +0000
@@ -84,7 +84,8 @@
 
 (defun msdos-handle-reverse-video (frame parameters)
   "Handle the reverse-video frame parameter on MS-DOS frames."
-  (when (cdr (assq 'reverse parameters))
+  (when (cdr (or (assq 'reverse parameters)
+		 (assq 'reverse default-frame-alist)))
       (let* ((params (frame-parameters frame))
 	     (fg (cdr (assq 'foreground-color params)))
 	     (bg (cdr (assq 'background-color params))))