]> git.eshelyaron.com Git - emacs.git/commitdiff
(command-line-1): Display warning when
authorReiner Steib <Reiner.Steib@gmx.de>
Thu, 27 Apr 2006 13:51:57 +0000 (13:51 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Thu, 27 Apr 2006 13:51:57 +0000 (13:51 +0000)
pure-space-overflow is non-nil.

lisp/ChangeLog
lisp/startup.el

index c91a3ec04ff894c71c16e90092b49d41c045bcbb..f961f6f1315d84a745a1fe09c600cdea22d2d370 100644 (file)
@@ -1,3 +1,8 @@
+2006-04-27  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * startup.el (command-line-1): Display warning when
+       pure-space-overflow is non-nil.
+
 2006-04-26  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
 
        * textmodes/bibtex.el (bibtex-user-optional-fields): Mark as
index 907ae46346209ab948b16a69334368da797750ef..470ffd7745c8637bfa97432bb34268a3faeed586 100644 (file)
@@ -1616,6 +1616,15 @@ normal otherwise."
   (when init-file-had-error
     (sit-for 2))
 
+  (when (and pure-space-overflow
+            (not noninteractive))
+    (display-warning
+     'initialization
+     "Building Emacs overflowed pure space."
+     ;; FIXME: Tell the user what kind of problems are possible and how to fix
+     ;; the overflow.
+     :warning))
+
   (when command-line-args-left
     ;; We have command args; process them.
     (let ((dir command-line-default-directory)