diff options
| author | Richard M. Stallman | 2006-11-05 15:19:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-11-05 15:19:55 +0000 |
| commit | 5b309ebfe67045d5b59217f77d3160fa1c68b785 (patch) | |
| tree | 6bf698a719a566073234a762c433b5c94e5fc749 | |
| parent | e29e9065b11f39828f73d0cdb8492e9d8cc563e2 (diff) | |
| download | emacs-5b309ebfe67045d5b59217f77d3160fa1c68b785.tar.gz emacs-5b309ebfe67045d5b59217f77d3160fa1c68b785.zip | |
(init-file-had-error): Add doc string.
(fancy-splash-text, fancy-splash-head, fancy-splash-tail):
Use fixed-width font for keyboard key descriptions.
| -rw-r--r-- | lisp/startup.el | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 664fd285754..91491ac25e2 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -283,7 +283,8 @@ from being initialized." | |||
| 283 | 283 | ||
| 284 | (defvar init-file-debug nil) | 284 | (defvar init-file-debug nil) |
| 285 | 285 | ||
| 286 | (defvar init-file-had-error nil) | 286 | (defvar init-file-had-error nil |
| 287 | "Non-nil if there was an error loading the user's init file.") | ||
| 287 | 288 | ||
| 288 | (defvar normal-top-level-add-subdirs-inode-list nil) | 289 | (defvar normal-top-level-add-subdirs-inode-list nil) |
| 289 | 290 | ||
| @@ -1149,8 +1150,16 @@ Getting New Versions\tHow to obtain the latest version of Emacs | |||
| 1149 | More Manuals / Ordering Manuals Buying printed manuals from the FSF\n") | 1150 | More Manuals / Ordering Manuals Buying printed manuals from the FSF\n") |
| 1150 | (:face (variable-pitch :weight bold) | 1151 | (:face (variable-pitch :weight bold) |
| 1151 | "Useful File menu items:\n" | 1152 | "Useful File menu items:\n" |
| 1152 | :face variable-pitch "\ | 1153 | :face variable-pitch |
| 1153 | Exit Emacs\t\t(Or type Control-x followed by Control-c) | 1154 | "Exit Emacs\t\t(Or type " |
| 1155 | :face default | ||
| 1156 | "Control-x" | ||
| 1157 | :face variable-pitch | ||
| 1158 | " followed by " | ||
| 1159 | :face default | ||
| 1160 | "Control-c" | ||
| 1161 | :face variable-pitch | ||
| 1162 | ") | ||
| 1154 | Recover Crashed Session\tRecover files you were editing before a crash | 1163 | Recover Crashed Session\tRecover files you were editing before a crash |
| 1155 | 1164 | ||
| 1156 | 1165 | ||
| @@ -1265,16 +1274,19 @@ where FACE is a valid face specification, as it can be used with | |||
| 1265 | :face 'variable-pitch | 1274 | :face 'variable-pitch |
| 1266 | "You can do basic editing with the menu bar and scroll bar \ | 1275 | "You can do basic editing with the menu bar and scroll bar \ |
| 1267 | using the mouse.\n\n") | 1276 | using the mouse.\n\n") |
| 1268 | (if fancy-splash-outer-buffer | 1277 | (when fancy-splash-outer-buffer |
| 1269 | (fancy-splash-insert | 1278 | (fancy-splash-insert |
| 1270 | :face 'variable-pitch | 1279 | :face 'variable-pitch |
| 1271 | (substitute-command-keys | 1280 | "Type " |
| 1272 | (concat | 1281 | :face 'default |
| 1273 | "Type \\[recenter] to begin editing" | 1282 | (substitute-command-keys |
| 1274 | (if (equal (buffer-name fancy-splash-outer-buffer) | 1283 | "\\[recenter]") |
| 1275 | "*scratch*") | 1284 | :face 'variable-pitch |
| 1276 | ".\n" | 1285 | " to begin editing" |
| 1277 | " your file.\n")))))) | 1286 | (if (equal (buffer-name fancy-splash-outer-buffer) |
| 1287 | "*scratch*") | ||
| 1288 | ".\n" | ||
| 1289 | " your file.\n")))) | ||
| 1278 | 1290 | ||
| 1279 | (defun fancy-splash-tail () | 1291 | (defun fancy-splash-tail () |
| 1280 | "Insert the tail part of the splash screen into the current buffer." | 1292 | "Insert the tail part of the splash screen into the current buffer." |
| @@ -1301,7 +1313,11 @@ using the mouse.\n\n") | |||
| 1301 | t) | 1313 | t) |
| 1302 | (fancy-splash-insert :face '(variable-pitch :foreground "red") | 1314 | (fancy-splash-insert :face '(variable-pitch :foreground "red") |
| 1303 | "\n\nIf an Emacs session crashed recently, " | 1315 | "\n\nIf an Emacs session crashed recently, " |
| 1304 | "type Meta-x recover-session RET\nto recover" | 1316 | "type " |
| 1317 | :face '(fixed-pitch :foreground "red") | ||
| 1318 | "Meta-x recover-session RET" | ||
| 1319 | :face '(variable-pitch :foreground "red") | ||
| 1320 | "\nto recover" | ||
| 1305 | " the files you were editing.")))) | 1321 | " the files you were editing.")))) |
| 1306 | 1322 | ||
| 1307 | (defun fancy-splash-screens-1 (buffer) | 1323 | (defun fancy-splash-screens-1 (buffer) |