diff options
| author | Gerd Moellmann | 2000-09-21 09:07:11 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-21 09:07:11 +0000 |
| commit | 95fadcca446a7b7dde52e82a3333cf5c3c3a8e0c (patch) | |
| tree | 61277c1d310394cfa8fd403f651ac5f81807101a | |
| parent | 470f23e1478c484cc3eed90447d54ee9d5b52e93 (diff) | |
| download | emacs-95fadcca446a7b7dde52e82a3333cf5c3c3a8e0c.tar.gz emacs-95fadcca446a7b7dde52e82a3333cf5c3c3a8e0c.zip | |
(fancy-splash-tail): Use a different foreground
color on a dark frame background.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/startup.el | 15 |
2 files changed, 13 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2a744ff26ca..e71fe85bfad 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2000-09-21 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * startup.el (fancy-splash-tail): Use a different foreground | ||
| 4 | color on a dark frame background. | ||
| 5 | |||
| 1 | 2000-09-21 Miles Bader <miles@lsi.nec.co.jp> | 6 | 2000-09-21 Miles Bader <miles@lsi.nec.co.jp> |
| 2 | 7 | ||
| 3 | * info.el: Use the correct capitalization when making Info-mode | 8 | * info.el: Use the correct capitalization when making Info-mode |
diff --git a/lisp/startup.el b/lisp/startup.el index d57e1e72bea..c1344f6f7b9 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -930,13 +930,14 @@ where FACE is a valid face specification, as it can be used with | |||
| 930 | 930 | ||
| 931 | (defun fancy-splash-tail () | 931 | (defun fancy-splash-tail () |
| 932 | "Insert the tail part of the splash screen into the current buffer." | 932 | "Insert the tail part of the splash screen into the current buffer." |
| 933 | (fancy-splash-insert | 933 | (let ((fg (if (eq (frame-parameter nil 'background-mode) 'dark) |
| 934 | :face '(variable-pitch :foreground "darkblue") | 934 | "cyan" "darkblue"))) |
| 935 | "\nThis is " | 935 | (fancy-splash-insert :face `(variable-pitch :foreground ,fg) |
| 936 | (emacs-version) | 936 | "\nThis is " |
| 937 | "\n" | 937 | (emacs-version) |
| 938 | :face '(variable-pitch :height 0.5) | 938 | "\n" |
| 939 | "Copyright (C) 2000 Free Software Foundation, Inc.")) | 939 | :face '(variable-pitch :height 0.5) |
| 940 | "Copyright (C) 2000 Free Software Foundation, Inc."))) | ||
| 940 | 941 | ||
| 941 | 942 | ||
| 942 | (defun fancy-splash-screens () | 943 | (defun fancy-splash-screens () |