aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-09-14 17:44:48 +0000
committerChong Yidong2006-09-14 17:44:48 +0000
commitaa260907f15b0cd3942e34441fecd4dab723063d (patch)
treec1cb5f6d3eccb27224b0ae6d57eeb298fff845e7
parentb14f0dc311082071197c3685d6f4b4e9c0955ab2 (diff)
downloademacs-aa260907f15b0cd3942e34441fecd4dab723063d.tar.gz
emacs-aa260907f15b0cd3942e34441fecd4dab723063d.zip
* startup.el (fancy-splash-text): Move editing instructions to
fancy-splash-head. (fancy-splash-head): Issue editing instructions. (fancy-splash-screens): Fixup whitespace.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/startup.el25
2 files changed, 21 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e2aca88e681..fde192f0215 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12006-09-14 Chong Yidong <cyd@stupidchicken.com>
2
3 * startup.el (fancy-splash-text): Move editing instructions to
4 fancy-splash-head.
5 (fancy-splash-head): Issue editing instructions.
6 (fancy-splash-screens): Fixup whitespace.
7
12006-09-14 Stefan Monnier <monnier@iro.umontreal.ca> 82006-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2 9
3 * bindings.el (mode-line-buffer-identification-keymap): 10 * bindings.el (mode-line-buffer-identification-keymap):
diff --git a/lisp/startup.el b/lisp/startup.el
index bc51b4ee037..c1adf617aa4 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1113,10 +1113,7 @@ regardless of the value of this variable."
1113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1114 1114
1115(defvar fancy-splash-text 1115(defvar fancy-splash-text
1116 '((:face variable-pitch 1116 '((:face (variable-pitch :weight bold)
1117 "You can do basic editing with the menu bar and scroll bar \
1118using the mouse.\n\n"
1119 :face (variable-pitch :weight bold)
1120 "Important Help menu items:\n" 1117 "Important Help menu items:\n"
1121 :face variable-pitch 1118 :face variable-pitch
1122 (lambda () 1119 (lambda ()
@@ -1149,18 +1146,16 @@ Read the Emacs Manual\tView the Emacs manual using Info
1149Copying Conditions\tConditions for redistributing and changing Emacs 1146Copying Conditions\tConditions for redistributing and changing Emacs
1150Getting New Versions\tHow to obtain the latest version of Emacs 1147Getting New Versions\tHow to obtain the latest version of Emacs
1151More Manuals / Ordering Manuals Buying printed manuals from the FSF\n") 1148More Manuals / Ordering Manuals Buying printed manuals from the FSF\n")
1152 (:face variable-pitch 1149 (:face (variable-pitch :weight bold)
1153 "You can do basic editing with the menu bar and scroll bar \ 1150 "Useful File menu items:\n"
1154using the mouse.\n\n" 1151 :face variable-pitch "\
1155 :face (variable-pitch :weight bold)
1156 "Useful File menu items:\n"
1157 :face variable-pitch "\
1158Exit Emacs\t(Or type Control-x followed by Control-c) 1152Exit Emacs\t(Or type Control-x followed by Control-c)
1159Recover Crashed Session\tRecover files you were editing before a crash 1153Recover Crashed Session\tRecover files you were editing before a crash
1160 1154
1161 1155
1162 1156
1163 1157
1158
1164" 1159"
1165 )) 1160 ))
1166 "A list of texts to show in the middle part of splash screens. 1161 "A list of texts to show in the middle part of splash screens.
@@ -1265,6 +1260,10 @@ where FACE is a valid face specification, as it can be used with
1265 "GNU Emacs is one component of the GNU/Linux operating system." 1260 "GNU Emacs is one component of the GNU/Linux operating system."
1266 "GNU Emacs is one component of the GNU operating system.")) 1261 "GNU Emacs is one component of the GNU operating system."))
1267 (insert "\n") 1262 (insert "\n")
1263 (fancy-splash-insert
1264 :face 'variable-pitch
1265 "You can do basic editing with the menu bar and scroll bar \
1266using the mouse.\n\n")
1268 (if fancy-splash-outer-buffer 1267 (if fancy-splash-outer-buffer
1269 (fancy-splash-insert 1268 (fancy-splash-insert
1270 :face 'variable-pitch 1269 :face 'variable-pitch
@@ -1400,7 +1399,11 @@ Warning Warning!!! Pure space overflow !!!Warning Warning
1400 (let (fancy-splash-outer-buffer) 1399 (let (fancy-splash-outer-buffer)
1401 (fancy-splash-head) 1400 (fancy-splash-head)
1402 (dolist (text fancy-splash-text) 1401 (dolist (text fancy-splash-text)
1403 (apply #'fancy-splash-insert text)) 1402 (apply #'fancy-splash-insert text)
1403 (insert "\n"))
1404 (skip-chars-backward "\n")
1405 (delete-region (point) (point-max))
1406 (insert "\n")
1404 (fancy-splash-tail) 1407 (fancy-splash-tail)
1405 (set-buffer-modified-p nil) 1408 (set-buffer-modified-p nil)
1406 (setq buffer-read-only t) 1409 (setq buffer-read-only t)