From 66c6abf0d76aad59cf5defee7ea63f9fb356839d Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 23 Oct 2010 14:13:39 -0700 Subject: [PATCH] Sync docs of cursor-in-non-selected-windows between Lisp and C. * lisp/frame.el (cursor-in-non-selected-windows): Sync doc with C version. * src/buffer.c (syms_of_buffer) : Sync doc with Lisp version. --- lisp/ChangeLog | 3 ++- lisp/frame.el | 10 +++++----- src/ChangeLog | 3 ++- src/buffer.c | 18 ++++++++++-------- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 296badae594..07350947106 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2010-10-23 Glenn Morris - * frame.el (auto-hscroll-mode): Sync doc with C version. + * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows): + Sync docs with C version. * term/ns-win.el (xw-defined-colors): * term/x-win.el (xw-defined-colors): Make docs identical to w32-win. diff --git a/lisp/frame.el b/lisp/frame.el index 82feab16f0d..431c2aefff4 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -1593,12 +1593,12 @@ cursor shapes." (defcustom cursor-in-non-selected-windows t - "Non-nil means show a hollow box cursor in non-selected windows. -If nil, don't show a cursor except in the selected window. -If t, display a cursor related to the usual cursor type - \(a solid box becomes hollow, a bar becomes a narrower bar). + "Non-nil means show a cursor in non-selected windows. +If nil, only shows a cursor in the selected window. +If t, displays a cursor related to the usual cursor type +\(a solid box becomes hollow, a bar becomes a narrower bar). You can also specify the cursor type as in the `cursor-type' variable. -Use Custom to set this variable to get the display updated." +Use Custom to set this variable and update the display." :tag "Cursor In Non-selected Windows" :type 'boolean :group 'cursor diff --git a/src/ChangeLog b/src/ChangeLog index add8cbeedb5..3fa7d87cd4c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2010-10-23 Glenn Morris - * xdisp.c (syms_of_xdisp) : Sync doc with Lisp. + * buffer.c (syms_of_buffer) : + * xdisp.c (syms_of_xdisp) : Sync docs with Lisp. 2010-10-23 Eli Zaretskii diff --git a/src/buffer.c b/src/buffer.c index ed3b7acd2ac..5a6bfcba060 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1,8 +1,8 @@ /* Buffer manipulation primitives for GNU Emacs. - Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, - 1995, 1997, 1998, 1999, 2000, 2001, 2002, - 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 - Free Software Foundation, Inc. + +Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1997, + 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, + 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -6140,8 +6140,12 @@ to the default frame line height. A value of nil means add no extra space. */) DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", ¤t_buffer->cursor_in_non_selected_windows, Qnil, - doc: /* *Cursor type to display in non-selected windows. -The value t means to use hollow box cursor. See `cursor-type' for other values. */); + doc: /* *Non-nil means show a cursor in non-selected windows. +If nil, only shows a cursor in the selected window. +If t, displays a cursor related to the usual cursor type +\(a solid box becomes hollow, a bar becomes a narrower bar). +You can also specify the cursor type as in the `cursor-type' variable. +Use Custom to set this variable and update the display." */); DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions, doc: /* List of functions called with no args to query before killing a buffer. @@ -6218,5 +6222,3 @@ keys_of_buffer (void) Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); } -/* arch-tag: e48569bf-69a9-4b65-a23b-8e68769436e1 - (do not change this comment) */ -- 2.39.5