summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-12-14 13:39:26 +0200
committerEli Zaretskii <eliz@gnu.org>2019-12-14 13:39:26 +0200
commit82a315b9e733deffe8802990c6312d02a576040c (patch)
tree92bb8d087f9b31f2dd6468ac042e696759524bb8 /lisp
parentc6e655c77ba1cee15ce3b7d8ed60069554fe3d45 (diff)
downloademacs-82a315b9e733deffe8802990c6312d02a576040c.tar.gz
Don't warn about pure-space overflow
* lisp/startup.el (command-line-1): Don't warn about pure-space overflow if we were dumped with pdumper. (Bug#38492)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/startup.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index efd1ae9a4fc..04a37bf59e9 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -2324,7 +2324,11 @@ A fancy display is used on graphic displays, normal otherwise."
"A subroutine of `command-line'."
(display-startup-echo-area-message)
(when (and pure-space-overflow
- (not noninteractive))
+ (not noninteractive)
+ ;; If we were dumped with pdumper, we don't care about
+ ;; pure-space overflow.
+ (or (not (fboundp 'pdumper-stats))
+ (null (pdumper-stats))))
(display-warning
'initialization
"Building Emacs overflowed pure space.\