Commit bf784417 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(x-create-frame-with-faces): Only setup the toolbar if

tool-bar-mode is on.
parent 847fb889
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.
 
......
......@@ -2007,7 +2007,8 @@ Value is the new frame created."
;; 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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment