mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-20 10:23:57 +00:00
(x-create-frame-with-faces): Only setup the toolbar if
tool-bar-mode is on.
This commit is contained in:
parent
847fb889ab
commit
bf784417de
@ -1,5 +1,8 @@
|
||||
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)))
|
||||
|
Loading…
Reference in New Issue
Block a user