# HG changeset patch # User Gerd Moellmann # Date 969527211 0 # Node ID afc3af0cc7249daeed89bdbc37a6409f9968213c # Parent 70b0ec04801f602bc6403b7e7f7509245490daa6 (fancy-splash-tail): Use a different foreground color on a dark frame background. diff -r 70b0ec04801f -r afc3af0cc724 lisp/startup.el --- 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 ()