From a9fdbaae1a386c8884c70bab38abb4c6c81c6a8b Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 25 Jun 2010 15:24:05 -0400 Subject: Change initial-frame-alist and default-frame-alist defaults (Bug#2249). Since the menu-bar and tool-bar are now unconditionally turned on by default, we can let the defcustom defaults reflect that. * frame.el (initial-frame-alist): Give default value entries for menu-bar-lines and tool-bar-lines consistent with the startup default (Bug#2249). * frame.c (Vdefault_frame_alist): Give default value entries for menu-bar-lines and tool-bar-lines consistent with the startup default (Bug#2249). --- lisp/frame.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/frame.el') diff --git a/lisp/frame.el b/lisp/frame.el index 7456db4021c..eb125cdda4a 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -52,7 +52,8 @@ Parameters specified here supersede the values given in ;; The initial value given here used to ask for a minibuffer. ;; But that's not necessary, because the default is to have one. ;; By not specifying it here, we let an X resource specify it. -(defcustom initial-frame-alist nil +(defcustom initial-frame-alist + '((menu-bar-lines . 1) (tool-bar-lines . 1)) "Alist of parameters for the initial X window frame. You can set this in your init file; for example, -- cgit v1.2.3