[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/nsselect.m,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/nsselect.m,v |
Date: |
Tue, 22 Jul 2008 19:25:08 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/07/22 19:25:08
Index: nsselect.m
===================================================================
RCS file: /sources/emacs/emacs/src/nsselect.m,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- nsselect.m 21 Jul 2008 17:47:24 -0000 1.6
+++ nsselect.m 22 Jul 2008 19:25:08 -0000 1.7
@@ -374,7 +374,11 @@
DEFUN ("ns-own-selection-internal", Fns_own_selection_internal,
- Sns_own_selection_internal, 2, 2, 0, "Assert a selection.")
+ Sns_own_selection_internal, 2, 2, 0,
+ doc: /* Assert a selection.
+SELECTION-NAME is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.
+VALUE is typically a string, or a cons of two markers, but may be
+anything that the functions on `selection-converter-alist' know about. */)
(selection_name, selection_value)
Lisp_Object selection_name, selection_value;
{
@@ -409,7 +413,7 @@
DEFUN ("x-disown-selection-internal", Fx_disown_selection_internal,
Sx_disown_selection_internal, 1, 2, 0,
- "If we own the selection SELECTION, disown it.")
+ doc: /* If we own the selection SELECTION, disown it. */)
(selection_name, time)
Lisp_Object selection_name, time;
{
@@ -425,12 +429,12 @@
DEFUN ("ns-selection-exists-p", Fns_selection_exists_p, Sns_selection_exists_p,
- 0, 1, 0, "Whether there is an owner for the given selection.\n\
-The arg should be the name of the selection in question, typically one of\n\
-the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.\n\
-\(Those are literal upper-case symbol names.)\n\
-For convenience, the symbol nil is the same as `PRIMARY',\n\
-and t is the same as `SECONDARY'.)")
+ 0, 1, 0, doc: /* Whether there is an owner for the given selection.
+The arg should be the name of the selection in question, typically one of
+the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.
+\(Those are literal upper-case symbol names.)
+For convenience, the symbol nil is the same as `PRIMARY',
+and t is the same as `SECONDARY'.) */)
(selection)
Lisp_Object selection;
{
@@ -449,12 +453,12 @@
DEFUN ("ns-selection-owner-p", Fns_selection_owner_p, Sns_selection_owner_p,
0, 1, 0,
- "Whether the current Emacs process owns the given selection.\n\
-The arg should be the name of the selection in question, typically one of\n\
-the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.\n\
-\(Those are literal upper-case symbol names.)\n\
-For convenience, the symbol nil is the same as `PRIMARY',\n\
-and t is the same as `SECONDARY'.)")
+ doc: /* Whether the current Emacs process owns the given selection.
+The arg should be the name of the selection in question, typically one of
+the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.
+\(Those are literal upper-case symbol names.)
+For convenience, the symbol nil is the same as `PRIMARY',
+and t is the same as `SECONDARY'.) */)
(selection)
Lisp_Object selection;
{
@@ -468,10 +472,10 @@
DEFUN ("x-get-selection-internal", Fx_get_selection_internal,
Sx_get_selection_internal, 2, 2, 0,
- "Return text selected from some pasteboard.\n\
-SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.\n\
-\(Those are literal upper-case symbol names.)\n\
-TYPE is the type of data desired, typically `STRING'.")
+ doc: /* Return text selected from some pasteboard.
+SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.
+\(Those are literal upper-case symbol names.)
+TYPE is the type of data desired, typically `STRING'. */)
(selection_name, target_type)
Lisp_Object selection_name, target_type;
{
@@ -497,7 +501,7 @@
#ifdef CUT_BUFFER_SUPPORT
DEFUN ("ns-get-cut-buffer-internal", Fns_get_cut_buffer_internal,
Sns_get_cut_buffer_internal, 1, 1, 0,
- "Returns the value of the named cut buffer.")
+ doc: /* Returns the value of the named cut buffer. */)
(buffer)
Lisp_Object buffer;
{
@@ -510,8 +514,9 @@
DEFUN ("ns-rotate-cut-buffers-internal", Fns_rotate_cut_buffers_internal,
Sns_rotate_cut_buffers_internal, 1, 1, 0,
- "Rotate the values of the cut buffers by the given number of steps;\n\
- positive means move values forward, negative means backward. CURRENTLY NOT
IMPLEMENTED UNDER NeXTstep.")
+ doc: /* Rotate the values of the cut buffers by N steps.
+Positive N means move values forward, negative means
+backward. CURRENTLY NOT IMPLEMENTED UNDER NEXTSTEP. */ )
(n)
Lisp_Object n;
{
@@ -524,7 +529,7 @@
DEFUN ("ns-store-cut-buffer-internal", Fns_store_cut_buffer_internal,
Sns_store_cut_buffer_internal, 2, 2, 0,
- "Sets the value of the named cut buffer (typically CUT_BUFFER0).")
+ doc: /* Sets the value of the named cut buffer (typically CUT_BUFFER0).
*/)
(buffer, string)
Lisp_Object buffer, string;
{
- [Emacs-diffs] Changes to emacs/src/nsselect.m,v, Miles Bader, 2008/07/15
- [Emacs-diffs] Changes to emacs/src/nsselect.m,v, Miles Bader, 2008/07/15
- [Emacs-diffs] Changes to emacs/src/nsselect.m,v, Glenn Morris, 2008/07/15
- [Emacs-diffs] Changes to emacs/src/nsselect.m,v, Stefan Monnier, 2008/07/16
- [Emacs-diffs] Changes to emacs/src/nsselect.m,v, Dan Nicolaescu, 2008/07/21
- [Emacs-diffs] Changes to emacs/src/nsselect.m,v,
Chong Yidong <=
- [Emacs-diffs] Changes to emacs/src/nsselect.m,v, Adrian Robert, 2008/07/27