aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-12-29 19:04:53 +0000
committerRichard M. Stallman2007-12-29 19:04:53 +0000
commit422abbfd2240b7e9e05907dac4d5afc6aa452c81 (patch)
tree3b377613ce56ee48eb80f0788b86d30361cecb48
parent78056104e0609c1e963db5cacb34a0be4492b5af (diff)
downloademacs-422abbfd2240b7e9e05907dac4d5afc6aa452c81.tar.gz
emacs-422abbfd2240b7e9e05907dac4d5afc6aa452c81.zip
(fancy-startup-tail, fancy-about-text)
(fancy-startup-text): Regularize format of face property.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/startup.el27
2 files changed, 22 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f8c6a930715..5aa604aebc7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12007-12-29 Richard Stallman <rms@gnu.org>
2
3 * startup.el (fancy-startup-tail, fancy-about-text)
4 (fancy-startup-text): Regularize format of face property.
5
6 * facemenu.el (list-colors-print): Use :background and :foreground
7 instead of background-color and foreground-color.
8
12007-12-29 Eli Zaretskii <eliz@gnu.org> 92007-12-29 Eli Zaretskii <eliz@gnu.org>
2 10
3 * textmodes/ispell.el (ispell-grep-command): Use "grep" on 11 * textmodes/ispell.el (ispell-grep-command): Use "grep" on
diff --git a/lisp/startup.el b/lisp/startup.el
index 82b6a449025..5f5e4ca1912 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1136,7 +1136,7 @@ regardless of the value of this variable."
1136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1137 1137
1138(defvar fancy-startup-text 1138(defvar fancy-startup-text
1139 '((:face (variable-pitch :foreground "red") 1139 '((:face (variable-pitch (:foreground "red"))
1140 "Welcome to " 1140 "Welcome to "
1141 :link ("GNU Emacs" 1141 :link ("GNU Emacs"
1142 (lambda (button) (browse-url "http://www.gnu.org/software/emacs/")) 1142 (lambda (button) (browse-url "http://www.gnu.org/software/emacs/"))
@@ -1182,7 +1182,7 @@ regardless of the value of this variable."
1182 "\tView the Emacs manual using Info\n" 1182 "\tView the Emacs manual using Info\n"
1183 :link ("Absence of Warranty" (lambda (button) (describe-no-warranty))) 1183 :link ("Absence of Warranty" (lambda (button) (describe-no-warranty)))
1184 "\tGNU Emacs comes with " 1184 "\tGNU Emacs comes with "
1185 :face (variable-pitch :slant oblique) 1185 :face (variable-pitch (:slant oblique))
1186 "ABSOLUTELY NO WARRANTY\n" 1186 "ABSOLUTELY NO WARRANTY\n"
1187 :face variable-pitch 1187 :face variable-pitch
1188 :link ("Copying Conditions" (lambda (button) (describe-copying))) 1188 :link ("Copying Conditions" (lambda (button) (describe-copying)))
@@ -1195,7 +1195,7 @@ Each element in the list should be a list of strings or pairs
1195`:face FACE', like `fancy-splash-insert' accepts them.") 1195`:face FACE', like `fancy-splash-insert' accepts them.")
1196 1196
1197(defvar fancy-about-text 1197(defvar fancy-about-text
1198 '((:face (variable-pitch :foreground "red") 1198 '((:face (variable-pitch (:foreground "red"))
1199 "This is " 1199 "This is "
1200 :link ("GNU Emacs" 1200 :link ("GNU Emacs"
1201 (lambda (button) (browse-url "http://www.gnu.org/software/emacs/")) 1201 (lambda (button) (browse-url "http://www.gnu.org/software/emacs/"))
@@ -1211,13 +1211,14 @@ Each element in the list should be a list of strings or pairs
1211 "Display info on the GNU project."))) 1211 "Display info on the GNU project.")))
1212 " operating system.\n" 1212 " operating system.\n"
1213 :face (lambda () 1213 :face (lambda ()
1214 (list 'variable-pitch :foreground 1214 (list 'variable-pitch
1215 (if (eq (frame-parameter nil 'background-mode) 'dark) 1215 (list :foreground
1216 "cyan" "darkblue"))) 1216 (if (eq (frame-parameter nil 'background-mode) 'dark)
1217 "cyan" "darkblue"))))
1217 "\n" 1218 "\n"
1218 (lambda () (emacs-version)) 1219 (lambda () (emacs-version))
1219 "\n" 1220 "\n"
1220 :face (variable-pitch :height 0.5) 1221 :face (variable-pitch (:height 0.5))
1221 (lambda () emacs-copyright) 1222 (lambda () emacs-copyright)
1222 "\n\n" 1223 "\n\n"
1223 :face variable-pitch 1224 :face variable-pitch
@@ -1225,7 +1226,7 @@ Each element in the list should be a list of strings or pairs
1225 "\tWhy we developed GNU Emacs, and the GNU operating system\n" 1226 "\tWhy we developed GNU Emacs, and the GNU operating system\n"
1226 :link ("Absence of Warranty" (lambda (button) (describe-no-warranty))) 1227 :link ("Absence of Warranty" (lambda (button) (describe-no-warranty)))
1227 "\tGNU Emacs comes with " 1228 "\tGNU Emacs comes with "
1228 :face (variable-pitch :slant oblique) 1229 :face (variable-pitch (:slant oblique))
1229 "ABSOLUTELY NO WARRANTY\n" 1230 "ABSOLUTELY NO WARRANTY\n"
1230 :face variable-pitch 1231 :face variable-pitch
1231 :link ("Copying Conditions" (lambda (button) (describe-copying))) 1232 :link ("Copying Conditions" (lambda (button) (describe-copying)))
@@ -1379,11 +1380,11 @@ a face or button specification."
1379 (lambda (button) (customize-group 'initialization)) 1380 (lambda (button) (customize-group 'initialization))
1380 "Change initialization settings including this screen") 1381 "Change initialization settings including this screen")
1381 "\n")) 1382 "\n"))
1382 (fancy-splash-insert :face `(variable-pitch :foreground ,fg) 1383 (fancy-splash-insert :face `(variable-pitch (:foreground ,fg))
1383 "\nThis is " 1384 "\nThis is "
1384 (emacs-version) 1385 (emacs-version)
1385 "\n" 1386 "\n"
1386 :face '(variable-pitch :height 0.5) 1387 :face '(variable-pitch (:height 0.5))
1387 emacs-copyright 1388 emacs-copyright
1388 "\n") 1389 "\n")
1389 (and auto-save-list-file-prefix 1390 (and auto-save-list-file-prefix
@@ -1399,12 +1400,12 @@ a face or button specification."
1399 (regexp-quote (file-name-nondirectory 1400 (regexp-quote (file-name-nondirectory
1400 auto-save-list-file-prefix))) 1401 auto-save-list-file-prefix)))
1401 t) 1402 t)
1402 (fancy-splash-insert :face '(variable-pitch :foreground "red") 1403 (fancy-splash-insert :face '(variable-pitch (:foreground "red"))
1403 "\nIf an Emacs session crashed recently, " 1404 "\nIf an Emacs session crashed recently, "
1404 "type " 1405 "type "
1405 :face '(fixed-pitch :foreground "red") 1406 :face '(fixed-pitch :foreground "red")
1406 "Meta-x recover-session RET" 1407 "Meta-x recover-session RET"
1407 :face '(variable-pitch :foreground "red") 1408 :face '(variable-pitch (:foreground "red"))
1408 "\nto recover" 1409 "\nto recover"
1409 " the files you were editing.")) 1410 " the files you were editing."))
1410 1411
@@ -1439,7 +1440,7 @@ a face or button specification."
1439 (overlay-put button 'checked t) 1440 (overlay-put button 'checked t)
1440 (overlay-put button 'display (overlay-get button :on-glyph)) 1441 (overlay-put button 'display (overlay-get button :on-glyph))
1441 (setq startup-screen-inhibit-startup-screen t))))) 1442 (setq startup-screen-inhibit-startup-screen t)))))
1442 (fancy-splash-insert :face '(variable-pitch :height 0.9) 1443 (fancy-splash-insert :face '(variable-pitch (:height 0.9))
1443 " Never show it again."))))) 1444 " Never show it again.")))))
1444 1445
1445(defun exit-splash-screen () 1446(defun exit-splash-screen ()