aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2010-06-25 15:24:05 -0400
committerChong Yidong2010-06-25 15:24:05 -0400
commita9fdbaae1a386c8884c70bab38abb4c6c81c6a8b (patch)
tree3b5baab36d48d1763e11c9f086430dba389386da /src
parentf5cbf40e5fa3b56560e382f1a929f1beeb8e2618 (diff)
downloademacs-a9fdbaae1a386c8884c70bab38abb4c6c81c6a8b.tar.gz
emacs-a9fdbaae1a386c8884c70bab38abb4c6c81c6a8b.zip
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).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/frame.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9777ab2202b..41e8c09cacf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12010-06-25 Chong Yidong <cyd@stupidchicken.com>
2
3 * frame.c (Vdefault_frame_alist): Give default value entries for
4 menu-bar-lines and tool-bar-lines consistent with the startup
5 default (Bug#2249).
6
12010-06-24 Juanma Barranquero <lekktu@gmail.com> 72010-06-24 Juanma Barranquero <lekktu@gmail.com>
2 8
3 * gtkutil.c (xg_update_scrollbar_pos): 9 * gtkutil.c (xg_update_scrollbar_pos):
diff --git a/src/frame.c b/src/frame.c
index 3e1b2daf556..4fd0573e2c0 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -4595,7 +4595,8 @@ For values specific to the separate minibuffer frame, see
4595The `menu-bar-lines' element of the list controls whether new frames 4595The `menu-bar-lines' element of the list controls whether new frames
4596 have menu bars; `menu-bar-mode' works by altering this element. 4596 have menu bars; `menu-bar-mode' works by altering this element.
4597Setting this variable does not affect existing frames, only new ones. */); 4597Setting this variable does not affect existing frames, only new ones. */);
4598 Vdefault_frame_alist = Qnil; 4598 Vdefault_frame_alist = list2 (Fcons (Qmenu_bar_lines, make_number (1)),
4599 Fcons (Qtool_bar_lines, make_number (1)));
4599 4600
4600 DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars, 4601 DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars,
4601 doc: /* Default position of scroll bars on this window-system. */); 4602 doc: /* Default position of scroll bars on this window-system. */);