aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-07-22 19:25:08 +0000
committerChong Yidong2008-07-22 19:25:08 +0000
commita5c55c6951b4ffb098f66c7b71ff396ad6ef1148 (patch)
tree3b6d5d9df2cdbc0d81ede1a91e22697d5e686e64 /src
parentd41e3a6c13e5247a2287c85d3b655641acb7f782 (diff)
downloademacs-a5c55c6951b4ffb098f66c7b71ff396ad6ef1148.tar.gz
emacs-a5c55c6951b4ffb098f66c7b71ff396ad6ef1148.zip
(Fns_selection_exists_p, Fns_selection_owner_p)
(Fx_get_selection_internal, Fns_rotate_cut_buffers_internal) (Fns_own_selection_internal, Fx_disown_selection_internal) (Fns_get_cut_buffer_internal, Fns_store_cut_buffer_internal): Change to use 'doc: /* ... */' style of docstrings. Doc fixes.
Diffstat (limited to 'src')
-rw-r--r--src/nsselect.m49
1 files changed, 27 insertions, 22 deletions
diff --git a/src/nsselect.m b/src/nsselect.m
index e26c1d8c950..35a9f43634a 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -374,7 +374,11 @@ ns_string_to_pasteboard (id pb, Lisp_Object str)
374 374
375 375
376DEFUN ("ns-own-selection-internal", Fns_own_selection_internal, 376DEFUN ("ns-own-selection-internal", Fns_own_selection_internal,
377 Sns_own_selection_internal, 2, 2, 0, "Assert a selection.") 377 Sns_own_selection_internal, 2, 2, 0,
378 doc: /* Assert a selection.
379SELECTION-NAME is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.
380VALUE is typically a string, or a cons of two markers, but may be
381anything that the functions on `selection-converter-alist' know about. */)
378 (selection_name, selection_value) 382 (selection_name, selection_value)
379 Lisp_Object selection_name, selection_value; 383 Lisp_Object selection_name, selection_value;
380{ 384{
@@ -409,7 +413,7 @@ DEFUN ("ns-own-selection-internal", Fns_own_selection_internal,
409 413
410DEFUN ("x-disown-selection-internal", Fx_disown_selection_internal, 414DEFUN ("x-disown-selection-internal", Fx_disown_selection_internal,
411 Sx_disown_selection_internal, 1, 2, 0, 415 Sx_disown_selection_internal, 1, 2, 0,
412 "If we own the selection SELECTION, disown it.") 416 doc: /* If we own the selection SELECTION, disown it. */)
413 (selection_name, time) 417 (selection_name, time)
414 Lisp_Object selection_name, time; 418 Lisp_Object selection_name, time;
415{ 419{
@@ -425,12 +429,12 @@ DEFUN ("x-disown-selection-internal", Fx_disown_selection_internal,
425 429
426 430
427DEFUN ("ns-selection-exists-p", Fns_selection_exists_p, Sns_selection_exists_p, 431DEFUN ("ns-selection-exists-p", Fns_selection_exists_p, Sns_selection_exists_p,
428 0, 1, 0, "Whether there is an owner for the given selection.\n\ 432 0, 1, 0, doc: /* Whether there is an owner for the given selection.
429The arg should be the name of the selection in question, typically one of\n\ 433The arg should be the name of the selection in question, typically one of
430the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.\n\ 434the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.
431\(Those are literal upper-case symbol names.)\n\ 435\(Those are literal upper-case symbol names.)
432For convenience, the symbol nil is the same as `PRIMARY',\n\ 436For convenience, the symbol nil is the same as `PRIMARY',
433and t is the same as `SECONDARY'.)") 437and t is the same as `SECONDARY'.) */)
434 (selection) 438 (selection)
435 Lisp_Object selection; 439 Lisp_Object selection;
436{ 440{
@@ -449,12 +453,12 @@ and t is the same as `SECONDARY'.)")
449 453
450DEFUN ("ns-selection-owner-p", Fns_selection_owner_p, Sns_selection_owner_p, 454DEFUN ("ns-selection-owner-p", Fns_selection_owner_p, Sns_selection_owner_p,
451 0, 1, 0, 455 0, 1, 0,
452 "Whether the current Emacs process owns the given selection.\n\ 456 doc: /* Whether the current Emacs process owns the given selection.
453The arg should be the name of the selection in question, typically one of\n\ 457The arg should be the name of the selection in question, typically one of
454the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.\n\ 458the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.
455\(Those are literal upper-case symbol names.)\n\ 459\(Those are literal upper-case symbol names.)
456For convenience, the symbol nil is the same as `PRIMARY',\n\ 460For convenience, the symbol nil is the same as `PRIMARY',
457and t is the same as `SECONDARY'.)") 461and t is the same as `SECONDARY'.) */)
458 (selection) 462 (selection)
459 Lisp_Object selection; 463 Lisp_Object selection;
460{ 464{
@@ -468,10 +472,10 @@ and t is the same as `SECONDARY'.)")
468 472
469DEFUN ("x-get-selection-internal", Fx_get_selection_internal, 473DEFUN ("x-get-selection-internal", Fx_get_selection_internal,
470 Sx_get_selection_internal, 2, 2, 0, 474 Sx_get_selection_internal, 2, 2, 0,
471 "Return text selected from some pasteboard.\n\ 475 doc: /* Return text selected from some pasteboard.
472SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.\n\ 476SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.
473\(Those are literal upper-case symbol names.)\n\ 477\(Those are literal upper-case symbol names.)
474TYPE is the type of data desired, typically `STRING'.") 478TYPE is the type of data desired, typically `STRING'. */)
475 (selection_name, target_type) 479 (selection_name, target_type)
476 Lisp_Object selection_name, target_type; 480 Lisp_Object selection_name, target_type;
477{ 481{
@@ -497,7 +501,7 @@ TYPE is the type of data desired, typically `STRING'.")
497#ifdef CUT_BUFFER_SUPPORT 501#ifdef CUT_BUFFER_SUPPORT
498DEFUN ("ns-get-cut-buffer-internal", Fns_get_cut_buffer_internal, 502DEFUN ("ns-get-cut-buffer-internal", Fns_get_cut_buffer_internal,
499 Sns_get_cut_buffer_internal, 1, 1, 0, 503 Sns_get_cut_buffer_internal, 1, 1, 0,
500 "Returns the value of the named cut buffer.") 504 doc: /* Returns the value of the named cut buffer. */)
501 (buffer) 505 (buffer)
502 Lisp_Object buffer; 506 Lisp_Object buffer;
503{ 507{
@@ -510,8 +514,9 @@ DEFUN ("ns-get-cut-buffer-internal", Fns_get_cut_buffer_internal,
510 514
511DEFUN ("ns-rotate-cut-buffers-internal", Fns_rotate_cut_buffers_internal, 515DEFUN ("ns-rotate-cut-buffers-internal", Fns_rotate_cut_buffers_internal,
512 Sns_rotate_cut_buffers_internal, 1, 1, 0, 516 Sns_rotate_cut_buffers_internal, 1, 1, 0,
513 "Rotate the values of the cut buffers by the given number of steps;\n\ 517 doc: /* Rotate the values of the cut buffers by N steps.
514 positive means move values forward, negative means backward. CURRENTLY NOT IMPLEMENTED UNDER NeXTstep.") 518Positive N means move values forward, negative means
519backward. CURRENTLY NOT IMPLEMENTED UNDER NEXTSTEP. */ )
515 (n) 520 (n)
516 Lisp_Object n; 521 Lisp_Object n;
517{ 522{
@@ -524,7 +529,7 @@ DEFUN ("ns-rotate-cut-buffers-internal", Fns_rotate_cut_buffers_internal,
524 529
525DEFUN ("ns-store-cut-buffer-internal", Fns_store_cut_buffer_internal, 530DEFUN ("ns-store-cut-buffer-internal", Fns_store_cut_buffer_internal,
526 Sns_store_cut_buffer_internal, 2, 2, 0, 531 Sns_store_cut_buffer_internal, 2, 2, 0,
527 "Sets the value of the named cut buffer (typically CUT_BUFFER0).") 532 doc: /* Sets the value of the named cut buffer (typically CUT_BUFFER0). */)
528 (buffer, string) 533 (buffer, string)
529 Lisp_Object buffer, string; 534 Lisp_Object buffer, string;
530{ 535{