projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d790c6
)
* Fix `memory-report' for '--without-x' builds
author
Andrea Corallo
<akrl@sdf.org>
Sun, 13 Dec 2020 00:11:56 +0000
(
01:11
+0100)
committer
Andrea Corallo
<akrl@sdf.org>
Sun, 13 Dec 2020 10:09:20 +0000
(11:09 +0100)
* lisp/emacs-lisp/memory-report.el
(memory-report--image-cache): Don't call `image-cache-size' if
unbound.
lisp/emacs-lisp/memory-report.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/memory-report.el
b/lisp/emacs-lisp/memory-report.el
index c88d9f2768a9bd9829b959919ce5227a60e31d7d..04ae87d9ea072730169de723922a6b55e7bd2c05 100644
(file)
--- a/
lisp/emacs-lisp/memory-report.el
+++ b/
lisp/emacs-lisp/memory-report.el
@@
-294,7
+294,9
@@
by counted more than once."
(overlay-lists)))))
(defun memory-report--image-cache ()
- (list (cons "Total Image Cache Size" (image-cache-size))))
+ (list (cons "Total Image Cache Size" (if (fboundp 'image-cache-size)
+ (image-cache-size)
+ 0))))
(provide 'memory-report)