* window.el (window--dump-frame): Avoid error in --without-x builds.

This commit is contained in:
Glenn Morris 2014-05-21 23:36:37 -07:00
parent 4f4ec76fd6
commit bcba2d85bf
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-05-22 Glenn Morris <rgm@gnu.org>
* window.el (window--dump-frame): Avoid error in --without-x builds.
2014-05-21 Glenn Morris <rgm@gnu.org>
* nxml/nxml-mode.el (xml-mode): Only define this alias once.

View file

@ -1102,7 +1102,9 @@ dumping to it."
(frame-text-width frame) (frame-text-height frame)
(frame-text-cols frame) (frame-text-lines frame))
(format "tool: %s scroll: %s fringe: %s border: %s right: %s bottom: %s\n\n"
(tool-bar-height frame t)
(if (fboundp 'tool-bar-height)
(tool-bar-height frame t)
"0")
(frame-scroll-bar-width frame)
(frame-fringe-width frame)
(frame-border-width frame)