emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 5615704: Fix initial value of frame-inhibit-implied


From: Juri Linkov
Subject: [Emacs-diffs] master 5615704: Fix initial value of frame-inhibit-implied-resize
Date: Mon, 14 Oct 2019 15:14:25 -0400 (EDT)

branch: master
commit 561570475e99e1591df0b200facde22983754cf6
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>

    Fix initial value of frame-inhibit-implied-resize
    
    * src/frame.c (syms_of_frame): Update doc string and default value of
    frame-inhibit-implied-resize in NS to include 'tab-bar-lines.
---
 src/frame.c | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/src/frame.c b/src/frame.c
index f7e65be..cc76cf4 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -6290,24 +6290,19 @@ width by the width of one scroll bar provided this 
option is nil and
 keep it unchanged if this option is either t or a list containing
 `vertical-scroll-bars'.
 
-In NS that use the external tool bar and no tab bar, the default value
-is nil which means that changing any of the parameters listed above
-may change the size of the frame.  In GTK+ that use the external tool
-bar, the default value is \\='(tab-bar-lines) which means that
-adding/removing a tab bar does not change the frame height.  On all
-other types of GUI frames, the default value is \\='(tab-bar-lines
-tool-bar-lines) which means that adding/removing a tool bar or tab bar
-does not change the frame height.  Otherwise it's t which means the
-frame size never changes implicitly when there's no window
-system support.
+In GTK+ and NS that use the external tool bar, the default value is
+\\='(tab-bar-lines) which means that adding/removing a tab bar does
+not change the frame height.  On all other types of GUI frames, the
+default value is \\='(tab-bar-lines tool-bar-lines) which means that
+adding/removing a tool bar or tab bar does not change the frame
+height.  Otherwise it's t which means the frame size never changes
+implicitly when there's no window system support.
 
 Note that when a frame is not large enough to accommodate a change of
 any of the parameters listed above, Emacs may try to enlarge the frame
 even if this option is non-nil.  */);
 #if defined (HAVE_WINDOW_SYSTEM)
-#if defined (HAVE_NS)
-  frame_inhibit_implied_resize = Qnil;
-#elif defined (USE_GTK)
+#if defined (USE_GTK) || defined (HAVE_NS)
   frame_inhibit_implied_resize = list1 (Qtab_bar_lines);
 #else
   frame_inhibit_implied_resize = list2 (Qtab_bar_lines, Qtool_bar_lines);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]