]> git.eshelyaron.com Git - emacs.git/commitdiff
Native scroll-bars are not implemented for Nextstep (bug#10673)
authorGlenn Morris <rgm@gnu.org>
Thu, 2 Feb 2012 02:12:57 +0000 (21:12 -0500)
committerGlenn Morris <rgm@gnu.org>
Thu, 2 Feb 2012 02:12:57 +0000 (21:12 -0500)
* configure.in [HAVE_NS]: Error if use --without-toolkit-scroll-bars.

* src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
Unconditionally set to t.

* src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
* src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Doc fix.

ChangeLog
configure.in
src/ChangeLog
src/nsterm.m
src/w32term.c
src/xterm.c

index 731bd80d549825c0e15b1ed6166de952babec038..cfcfab4ee3334a6639924749ae9760d907576933 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-02  Glenn Morris  <rgm@gnu.org>
+
+       * configure.in [HAVE_NS]:
+       Error if use --without-toolkit-scroll-bars.  (Bug#10673)
+
 2012-02-01  Paul Eggert  <eggert@cs.ucla.edu>
 
        Port to older Solaris 10 versions (Bug#10677).
index 9eae1a517678be67d9ee0ff8aec59b431c398dfe..1d3810253abffe796d1ee4553fe87de991387bc0 100644 (file)
@@ -1568,6 +1568,10 @@ ns_frag=/dev/null
 NS_OBJ=
 NS_OBJC_OBJ=
 if test "${HAVE_NS}" = yes; then
+  if test "$with_toolkit_scroll_bars" = "no"; then
+    AC_MSG_ERROR([Native scroll bars are not implemented for Nextstep.])
+  fi
+
   window_system=nextstep
   with_xft=no
   # set up packaging dirs
index eebb10fb472819931dd80043fa21a8371c9a159a..800409d2377a9d9ed270f4ff3006b51576b037ca 100644 (file)
@@ -1,3 +1,11 @@
+2012-02-02  Glenn Morris  <rgm@gnu.org>
+
+       * nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
+       Unconditionally set to t.  (Bug#10673)
+       * nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
+       * w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
+       * xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Doc fix.
+
 2012-02-02  Kenichi Handa  <handa@m17n.org>
 
        * xdisp.c (BUILD_COMPOSITE_GLYPH_STRING): Initialize first_s to
index 1fbd3813fc7f75317df46c0d11b3d7347c4ebf52..277af26f14966b8742daaa0df3f6e461c1dbbd32 100644 (file)
@@ -1,6 +1,7 @@
 /* NeXT/Open/GNUstep / MacOSX communication module.
-   Copyright (C) 1989, 1993-1994, 2005-2006, 2008-2012
-     Free Software Foundation, Inc.
+
+Copyright (C) 1989, 1993-1994, 2005-2006, 2008-2012
+  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -6739,13 +6740,8 @@ Only works on OSX 10.6 or later.  */);
 A value of nil means Emacs doesn't use toolkit scroll bars.
 With the X Window system, the value is a symbol describing the
 X toolkit.  Possible values are: gtk, motif, xaw, or xaw3d.
-With MS Windows, the value is t.  With Nextstep, the value is
-t or nil.  */);
-#ifdef USE_TOOLKIT_SCROLL_BARS
+With MS Windows or Nextstep, the value is t.  */);
   Vx_toolkit_scroll_bars = Qt;
-#else
-  Vx_toolkit_scroll_bars = Qnil;
-#endif
 
   DEFVAR_BOOL ("x-use-underline-position-properties",
               x_use_underline_position_properties,
index 57fdf070850f46a5751375773de9e9b1d69e2050..8a0e9efc943600651294dd26470f22ca072b6ed0 100644 (file)
@@ -1,6 +1,6 @@
 /* Implementation of GUI terminal on the Microsoft W32 API.
 
-Copyright (C) 1989, 1993-2012  Free Software Foundation, Inc.
+Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -6432,8 +6432,7 @@ baseline level.  The default value is nil.  */);
 A value of nil means Emacs doesn't use toolkit scroll bars.
 With the X Window system, the value is a symbol describing the
 X toolkit.  Possible values are: gtk, motif, xaw, or xaw3d.
-With MS Windows, the value is t.  With Nextstep, the value is
-t or nil.  */);
+With MS Windows or Nextstep, the value is t.  */);
   Vx_toolkit_scroll_bars = Qt;
 
   staticpro (&last_mouse_motion_frame);
index 8fd0c0d24f7b514668382cb71d95c6cfa0b97a98..0a54c98738725cab0707c57bf363a14a16b63325 100644 (file)
@@ -1,6 +1,6 @@
 /* X Communication module for terminals which understand the X protocol.
 
-Copyright (C) 1989, 1993-2012  Free Software Foundation, Inc.
+Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -10844,8 +10844,7 @@ selected window or cursor position is preserved.  */);
 A value of nil means Emacs doesn't use toolkit scroll bars.
 With the X Window system, the value is a symbol describing the
 X toolkit.  Possible values are: gtk, motif, xaw, or xaw3d.
-With MS Windows, the value is t.  With Nextstep, the value is
-t or nil.  */);
+With MS Windows or Nextstep, the value is t.  */);
 #ifdef USE_TOOLKIT_SCROLL_BARS
 #ifdef USE_MOTIF
   Vx_toolkit_scroll_bars = intern_c_string ("motif");