2008-10-04 Dan Nicolaescu <dann@ics.uci.edu>
+ * faces.el (x-create-frame-with-faces): Only setup the toolbar if
+ tool-bar-mode is on.
+
* vc-svn.el (vc-svn-dir-status-files):
* vc-cvs.el (vc-cvs-dir-status-files): New function.
;; Make sure the tool-bar is ready to be enabled. The
;; `tool-bar-lines' frame parameter will not take effect
;; without this call.
- (tool-bar-setup frame)
+ (when tool-bar-mode
+ (tool-bar-setup frame))
(if (null visibility-spec)
(make-frame-visible frame)
(modify-frame-parameters frame (list visibility-spec)))