diff lisp/startup.el @ 31800:afc3af0cc724

(fancy-splash-tail): Use a different foreground color on a dark frame background.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 21 Sep 2000 09:06:51 +0000
parents 33409fc6f40f
children 4532598de5a9
line wrap: on
line diff
--- a/lisp/startup.el	Thu Sep 21 04:49:57 2000 +0000
+++ b/lisp/startup.el	Thu Sep 21 09:06:51 2000 +0000
@@ -930,13 +930,14 @@
 
 (defun fancy-splash-tail ()
   "Insert the tail part of the splash screen into the current buffer."
-  (fancy-splash-insert
-   :face '(variable-pitch :foreground "darkblue")
-   "\nThis is "
-   (emacs-version)
-   "\n"
-   :face '(variable-pitch :height 0.5)
-   "Copyright (C) 2000 Free Software Foundation, Inc."))
+  (let ((fg (if (eq (frame-parameter nil 'background-mode) 'dark)
+		"cyan" "darkblue")))
+    (fancy-splash-insert :face `(variable-pitch :foreground ,fg)
+			 "\nThis is "
+			 (emacs-version)
+			 "\n"
+			 :face '(variable-pitch :height 0.5)
+			 "Copyright (C) 2000 Free Software Foundation, Inc.")))
 
 
 (defun fancy-splash-screens ()