diff options
| author | Glenn Morris | 2010-10-23 18:15:43 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-10-23 18:15:43 -0700 |
| commit | 65807d733424d31514780c4e2c7b902e93561126 (patch) | |
| tree | f4a7b714d95182b81738d9c0c4e42b2c68fdf241 /src | |
| parent | ec51400782d909f06be58d3ea1f2552136dd1927 (diff) | |
| download | emacs-65807d733424d31514780c4e2c7b902e93561126.tar.gz emacs-65807d733424d31514780c4e2c7b902e93561126.zip | |
Sync X and MS-Windows docs of x-toolkit-scroll-bars.
* src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32term.c | 15 | ||||
| -rw-r--r-- | src/xterm.c | 17 |
3 files changed, 23 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2e2d771b792..a0d7d47ce35 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-10-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>: | ||
| 4 | * xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs. | ||
| 5 | |||
| 1 | 2010-10-23 Glenn Morris <rgm@gnu.org> | 6 | 2010-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>: | 8 | * buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>: |
diff --git a/src/w32term.c b/src/w32term.c index 1f53860de2e..e9865ed7aee 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* Implementation of GUI terminal on the Microsoft W32 API. | 1 | /* Implementation of GUI terminal on the Microsoft W32 API. |
| 2 | Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, | 2 | |
| 3 | 1999, 2000, 2001, 2002, 2003, 2004, 2005, | 3 | Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 4 | 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 5 | Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 7 | 8 | ||
| @@ -6348,12 +6349,14 @@ baseline level. The default value is nil. */); | |||
| 6348 | x_underline_at_descent_line = 0; | 6349 | x_underline_at_descent_line = 0; |
| 6349 | 6350 | ||
| 6350 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, | 6351 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, |
| 6351 | doc: /* If not nil, Emacs uses toolkit scroll bars. */); | 6352 | doc: /* Which toolkit scroll bars Emacs uses, if any. |
| 6353 | A value of nil means Emacs doesn't use toolkit scroll bars. | ||
| 6354 | With the X Window system, the value is a symbol describing the | ||
| 6355 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. | ||
| 6356 | With MS Windows, the value is t. */); | ||
| 6352 | Vx_toolkit_scroll_bars = Qt; | 6357 | Vx_toolkit_scroll_bars = Qt; |
| 6353 | 6358 | ||
| 6354 | staticpro (&last_mouse_motion_frame); | 6359 | staticpro (&last_mouse_motion_frame); |
| 6355 | last_mouse_motion_frame = Qnil; | 6360 | last_mouse_motion_frame = Qnil; |
| 6356 | } | 6361 | } |
| 6357 | 6362 | ||
| 6358 | /* arch-tag: 5fa70624-ab86-499c-8a85-473958ee4646 | ||
| 6359 | (do not change this comment) */ | ||
diff --git a/src/xterm.c b/src/xterm.c index d9d908d4396..b685ad475f7 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* X Communication module for terminals which understand the X protocol. | 1 | /* X Communication module for terminals which understand the X protocol. |
| 2 | Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | 2 | |
| 3 | 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 3 | Copyright (C) 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 4 | Free Software Foundation, Inc. | 4 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 5 | Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 7 | 8 | ||
| @@ -10682,9 +10683,11 @@ selected window or cursor position is preserved. */); | |||
| 10682 | x_mouse_click_focus_ignore_position = 0; | 10683 | x_mouse_click_focus_ignore_position = 0; |
| 10683 | 10684 | ||
| 10684 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, | 10685 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, |
| 10685 | doc: /* What X toolkit scroll bars Emacs uses. | 10686 | doc: /* Which toolkit scroll bars Emacs uses, if any. |
| 10686 | A value of nil means Emacs doesn't use X toolkit scroll bars. | 10687 | A value of nil means Emacs doesn't use toolkit scroll bars. |
| 10687 | Otherwise, value is a symbol describing the X toolkit. */); | 10688 | With the X Window system, the value is a symbol describing the |
| 10689 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. | ||
| 10690 | With MS Windows, the value is t. */); | ||
| 10688 | #ifdef USE_TOOLKIT_SCROLL_BARS | 10691 | #ifdef USE_TOOLKIT_SCROLL_BARS |
| 10689 | #ifdef USE_MOTIF | 10692 | #ifdef USE_MOTIF |
| 10690 | Vx_toolkit_scroll_bars = intern_c_string ("motif"); | 10693 | Vx_toolkit_scroll_bars = intern_c_string ("motif"); |
| @@ -10750,5 +10753,3 @@ default is nil, which is the same as `super'. */); | |||
| 10750 | 10753 | ||
| 10751 | #endif /* HAVE_X_WINDOWS */ | 10754 | #endif /* HAVE_X_WINDOWS */ |
| 10752 | 10755 | ||
| 10753 | /* arch-tag: 6d4e4cb7-abc1-4302-9585-d84dcfb09d0f | ||
| 10754 | (do not change this comment) */ | ||