aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-06-30 10:36:35 +0000
committerRichard M. Stallman2003-06-30 10:36:35 +0000
commitb693e375218475627dbc4ecd28993165c237cc93 (patch)
tree3300b9536162ebdae8ad73d53bab397000c1c109
parent720058f25b123ed9c1a9eb4869bae2374dec1c60 (diff)
downloademacs-b693e375218475627dbc4ecd28993165c237cc93.tar.gz
emacs-b693e375218475627dbc4ecd28993165c237cc93.zip
(pure-space-overflow): New variable.
(fancy-splash-screens-1): Display warning if overflow. (normal-splash-screen): Likewise.
-rw-r--r--lisp/startup.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 196ede15559..4b0ab342ef2 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -365,6 +365,9 @@ from being initialized."
365 365
366(defvar normal-top-level-add-subdirs-inode-list nil) 366(defvar normal-top-level-add-subdirs-inode-list nil)
367 367
368(defvar pure-space-overflow nil
369 "Non-nil if building Emacs overflowed pure space.")
370
368(defun normal-top-level-add-subdirs-to-load-path () 371(defun normal-top-level-add-subdirs-to-load-path ()
369 "Add all subdirectories of current directory to `load-path'. 372 "Add all subdirectories of current directory to `load-path'.
370More precisely, this uses only the subdirectories whose names 373More precisely, this uses only the subdirectories whose names
@@ -1262,6 +1265,8 @@ where FACE is a valid face specification, as it can be used with
1262 (let ((text (car fancy-current-text))) 1265 (let ((text (car fancy-current-text)))
1263 (set-buffer buffer) 1266 (set-buffer buffer)
1264 (erase-buffer) 1267 (erase-buffer)
1268 (if pure-space-overflow
1269 (insert "Warning Warning Pure space overflow Warning Warning\n"))
1265 (fancy-splash-head) 1270 (fancy-splash-head)
1266 (apply #'fancy-splash-insert text) 1271 (apply #'fancy-splash-insert text)
1267 (fancy-splash-tail) 1272 (fancy-splash-tail)
@@ -1359,6 +1364,9 @@ we put it on this frame."
1359 (mode-line-format (propertize "---- %b %-" 1364 (mode-line-format (propertize "---- %b %-"
1360 'face '(:weight bold)))) 1365 'face '(:weight bold))))
1361 1366
1367 (if pure-space-overflow
1368 (insert "Warning Warning Pure space overflow Warning Warning\n"))
1369
1362 ;; The convention for this piece of code is that 1370 ;; The convention for this piece of code is that
1363 ;; each piece of output starts with one or two newlines 1371 ;; each piece of output starts with one or two newlines
1364 ;; and does not end with any newlines. 1372 ;; and does not end with any newlines.