# HG changeset patch # User Glenn Morris # Date 1287886417 25200 # Node ID 600f564fdc23c8e89c2e8a4ece3dd30d40726b76 # Parent a3c68a313b8181bc5e8aa4f8b8239245cd4ca192 Sync Lisp and C docs of next-selection-coding-system. * src/w16select.c (syms_of_win16select) : * src/w32select.c (syms_of_w32select) : Sync docs with select.el. * lisp/select.el (next-selection-coding-system): Sync doc with C versions. diff -r a3c68a313b81 -r 600f564fdc23 lisp/ChangeLog --- a/lisp/ChangeLog Sat Oct 23 18:57:21 2010 -0700 +++ b/lisp/ChangeLog Sat Oct 23 19:13:37 2010 -0700 @@ -1,5 +1,7 @@ 2010-10-24 Glenn Morris + * select.el (next-selection-coding-system): Sync doc with C versions. + * w32-vars.el (x-select-enable-clipboard): * term/x-win.el (x-select-enable-clipboard): Move to common-win. * term/common-win.el (x-select-enable-clipboard): Move here. diff -r a3c68a313b81 -r 600f564fdc23 lisp/select.el --- a/lisp/select.el Sat Oct 23 18:57:21 2010 -0700 +++ b/lisp/select.el Sat Oct 23 19:13:37 2010 -0700 @@ -1,12 +1,11 @@ ;;; select.el --- lisp portion of standard selection support +;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, +;; 2008, 2009, 2010 Free Software Foundation, Inc. + ;; Maintainer: FSF ;; Keywords: internal -;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, -;; 2008, 2009, 2010 Free Software Foundation, Inc. -;; Based partially on earlier release by Lucid. - ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify @@ -24,6 +23,8 @@ ;;; Commentary: +;; Based partially on earlier release by Lucid. + ;;; Code: (defcustom selection-coding-system nil @@ -58,11 +59,11 @@ (set symbol value))) (defvar next-selection-coding-system nil - "Coding system for the next communication with other X clients. + "Coding system for the next communication with other programs. Usually, `selection-coding-system' is used for communicating with -other X clients. But, if this variable is set, it is used for -the next communication only. After the communication, this -variable is set to nil.") +other programs (X Windows clients or MS Windows programs). But, if this +variable is set, it is used for the next communication only. +After the communication, this variable is set to nil.") (declare-function x-get-selection-internal "xselect.c" (selection-symbol target-type &optional time-stamp)) @@ -380,5 +381,4 @@ (provide 'select) -;; arch-tag: bb634f97-8a3b-4b0a-b940-f6e09982328c ;;; select.el ends here diff -r a3c68a313b81 -r 600f564fdc23 src/ChangeLog --- a/src/ChangeLog Sat Oct 23 18:57:21 2010 -0700 +++ b/src/ChangeLog Sat Oct 23 19:13:37 2010 -0700 @@ -1,5 +1,9 @@ 2010-10-24 Glenn Morris + * w16select.c (syms_of_win16select) : + * w32select.c (syms_of_w32select) : + Sync docs with select.el. + * xfaces.c (syms_of_xfaces) : Sync doc with Lisp version. diff -r a3c68a313b81 -r 600f564fdc23 src/w16select.c --- a/src/w16select.c Sat Oct 23 18:57:21 2010 -0700 +++ b/src/w16select.c Sat Oct 23 19:13:37 2010 -0700 @@ -1,6 +1,7 @@ /* 16-bit Windows Selection processing for emacs on MS-Windows - Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + +Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -700,11 +701,11 @@ Vselection_coding_system = intern ("iso-latin-1-dos"); DEFVAR_LISP ("next-selection-coding-system", &Vnext_selection_coding_system, - doc: /* Coding system for the next communication with other X clients. + doc: /* Coding system for the next communication with other programs. Usually, `selection-coding-system' is used for communicating with -other X clients. But, if this variable is set, it is used for the -next communication only. After the communication, this variable is -set to nil. */); +other programs (X Windows clients or MS Windows programs). But, if this +variable is set, it is used for the next communication only. +After the communication, this variable is set to nil. */); Vnext_selection_coding_system = Qnil; QPRIMARY = intern ("PRIMARY"); staticpro (&QPRIMARY); @@ -713,5 +714,3 @@ #endif /* MSDOS */ -/* arch-tag: 085a22c8-7324-436e-a6da-102464ce95d8 - (do not change this comment) */ diff -r a3c68a313b81 -r 600f564fdc23 src/w32select.c --- a/src/w32select.c Sat Oct 23 18:57:21 2010 -0700 +++ b/src/w32select.c Sat Oct 23 19:13:37 2010 -0700 @@ -1,6 +1,7 @@ /* Selection processing for Emacs on the Microsoft W32 API. - Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + +Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1080,9 +1081,9 @@ DEFVAR_LISP ("next-selection-coding-system", &Vnext_selection_coding_system, doc: /* Coding system for the next communication with other programs. Usually, `selection-coding-system' is used for communicating with -other programs. But, if this variable is set, it is used for the -next communication only. After the communication, this variable is -set to nil. */); +other programs (X Windows clients or MS Windows programs). But, if this +variable is set, it is used for the next communication only. +After the communication, this variable is set to nil. */); Vnext_selection_coding_system = Qnil; DEFSYM (QCLIPBOARD, "CLIPBOARD"); @@ -1123,5 +1124,3 @@ clipboard_owner = create_owner (); } -/* arch-tag: c96e9724-5eb1-4dad-be07-289f092fd2af - (do not change this comment) */