diff options
| author | Jason Rumney | 2001-11-12 23:57:09 +0000 |
|---|---|---|
| committer | Jason Rumney | 2001-11-12 23:57:09 +0000 |
| commit | 33f096701c84fc754bf5486cd2743dd030f5eb4a (patch) | |
| tree | 8b94db4dad6b9dd0a7e94d0a492fea091d4f0f26 /src/w32select.c | |
| parent | b6f4c7ba9cef461e5c827cb3f485ad82445ff85a (diff) | |
| download | emacs-33f096701c84fc754bf5486cd2743dd030f5eb4a.tar.gz emacs-33f096701c84fc754bf5486cd2743dd030f5eb4a.zip | |
Change doc-string comments to `new style'. [w/`doc:' keyword]. Doc fixes.
Diffstat (limited to 'src/w32select.c')
| -rw-r--r-- | src/w32select.c | 54 |
1 files changed, 29 insertions, 25 deletions
diff --git a/src/w32select.c b/src/w32select.c index 8772a4bbe6c..92090ccde0f 100644 --- a/src/w32select.c +++ b/src/w32select.c | |||
| @@ -51,7 +51,7 @@ static size_t clipboard_storage_size = 0; | |||
| 51 | 51 | ||
| 52 | #if 0 | 52 | #if 0 |
| 53 | DEFUN ("w32-open-clipboard", Fw32_open_clipboard, Sw32_open_clipboard, 0, 1, 0, | 53 | DEFUN ("w32-open-clipboard", Fw32_open_clipboard, Sw32_open_clipboard, 0, 1, 0, |
| 54 | "This opens the clipboard with the given frame pointer.") | 54 | doc: /* This opens the clipboard with the given frame pointer. */) |
| 55 | (frame) | 55 | (frame) |
| 56 | Lisp_Object frame; | 56 | Lisp_Object frame; |
| 57 | { | 57 | { |
| @@ -69,8 +69,10 @@ DEFUN ("w32-open-clipboard", Fw32_open_clipboard, Sw32_open_clipboard, 0, 1, 0, | |||
| 69 | return (ok ? frame : Qnil); | 69 | return (ok ? frame : Qnil); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | DEFUN ("w32-empty-clipboard", Fw32_empty_clipboard, Sw32_empty_clipboard, 0, 0, 0, | 72 | DEFUN ("w32-empty-clipboard", Fw32_empty_clipboard, |
| 73 | "This empties the clipboard and assigns ownership to the window which opened the clipboard.") | 73 | Sw32_empty_clipboard, 0, 0, 0, |
| 74 | doc: /* Empty the clipboard. | ||
| 75 | Assigns ownership of the clipboard to the window which opened it. */) | ||
| 74 | () | 76 | () |
| 75 | { | 77 | { |
| 76 | BOOL ok = FALSE; | 78 | BOOL ok = FALSE; |
| @@ -84,8 +86,9 @@ DEFUN ("w32-empty-clipboard", Fw32_empty_clipboard, Sw32_empty_clipboard, 0, 0, | |||
| 84 | return (ok ? Qt : Qnil); | 86 | return (ok ? Qt : Qnil); |
| 85 | } | 87 | } |
| 86 | 88 | ||
| 87 | DEFUN ("w32-close-clipboard", Fw32_close_clipboard, Sw32_close_clipboard, 0, 0, 0, | 89 | DEFUN ("w32-close-clipboard", Fw32_close_clipboard, |
| 88 | "This closes the clipboard.") | 90 | Sw32_close_clipboard, 0, 0, 0, |
| 91 | doc: /* Close the clipboard. */) | ||
| 89 | () | 92 | () |
| 90 | { | 93 | { |
| 91 | BOOL ok = FALSE; | 94 | BOOL ok = FALSE; |
| @@ -101,8 +104,9 @@ DEFUN ("w32-close-clipboard", Fw32_close_clipboard, Sw32_close_clipboard, 0, 0, | |||
| 101 | 104 | ||
| 102 | #endif | 105 | #endif |
| 103 | 106 | ||
| 104 | DEFUN ("w32-set-clipboard-data", Fw32_set_clipboard_data, Sw32_set_clipboard_data, 1, 2, 0, | 107 | DEFUN ("w32-set-clipboard-data", Fw32_set_clipboard_data, |
| 105 | "This sets the clipboard data to the given text.") | 108 | Sw32_set_clipboard_data, 1, 2, 0, |
| 109 | doc: /* This sets the clipboard data to the given text. */) | ||
| 106 | (string, frame) | 110 | (string, frame) |
| 107 | Lisp_Object string, frame; | 111 | Lisp_Object string, frame; |
| 108 | { | 112 | { |
| @@ -248,8 +252,9 @@ DEFUN ("w32-set-clipboard-data", Fw32_set_clipboard_data, Sw32_set_clipboard_dat | |||
| 248 | return (ok ? string : Qnil); | 252 | return (ok ? string : Qnil); |
| 249 | } | 253 | } |
| 250 | 254 | ||
| 251 | DEFUN ("w32-get-clipboard-data", Fw32_get_clipboard_data, Sw32_get_clipboard_data, 0, 1, 0, | 255 | DEFUN ("w32-get-clipboard-data", Fw32_get_clipboard_data, |
| 252 | "This gets the clipboard data in text format.") | 256 | Sw32_get_clipboard_data, 0, 1, 0, |
| 257 | doc: /* This gets the clipboard data in text format. */) | ||
| 253 | (frame) | 258 | (frame) |
| 254 | Lisp_Object frame; | 259 | Lisp_Object frame; |
| 255 | { | 260 | { |
| @@ -394,13 +399,13 @@ DEFUN ("w32-get-clipboard-data", Fw32_get_clipboard_data, Sw32_get_clipboard_dat | |||
| 394 | /* Support checking for a clipboard selection. */ | 399 | /* Support checking for a clipboard selection. */ |
| 395 | 400 | ||
| 396 | DEFUN ("x-selection-exists-p", Fx_selection_exists_p, Sx_selection_exists_p, | 401 | DEFUN ("x-selection-exists-p", Fx_selection_exists_p, Sx_selection_exists_p, |
| 397 | 0, 1, 0, | 402 | 0, 1, 0, |
| 398 | "Whether there is an owner for the given X Selection.\n\ | 403 | doc: /* Whether there is an owner for the given X Selection. |
| 399 | The arg should be the name of the selection in question, typically one of\n\ | 404 | The arg should be the name of the selection in question, typically one of |
| 400 | the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.\n\ | 405 | the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. |
| 401 | \(Those are literal upper-case symbol names, since that's what X expects.)\n\ | 406 | \(Those are literal upper-case symbol names, since that's what X expects.) |
| 402 | For convenience, the symbol nil is the same as `PRIMARY',\n\ | 407 | For convenience, the symbol nil is the same as `PRIMARY', |
| 403 | and t is the same as `SECONDARY'.") | 408 | and t is the same as `SECONDARY'. */) |
| 404 | (selection) | 409 | (selection) |
| 405 | Lisp_Object selection; | 410 | Lisp_Object selection; |
| 406 | { | 411 | { |
| @@ -442,18 +447,17 @@ syms_of_w32select () | |||
| 442 | defsubr (&Sx_selection_exists_p); | 447 | defsubr (&Sx_selection_exists_p); |
| 443 | 448 | ||
| 444 | DEFVAR_LISP ("selection-coding-system", &Vselection_coding_system, | 449 | DEFVAR_LISP ("selection-coding-system", &Vselection_coding_system, |
| 445 | "Coding system for communicating with other X clients.\n\ | 450 | doc: /* Coding system for communicating with other programs. |
| 446 | When sending or receiving text via cut_buffer, selection, and clipboard,\n\ | 451 | When sending or receiving text via cut_buffer, selection, and clipboard, |
| 447 | the text is encoded or decoded by this coding system.\n\ | 452 | the text is encoded or decoded by this coding system. */); |
| 448 | A default value is `compound-text'"); | ||
| 449 | Vselection_coding_system=intern ("iso-latin-1-dos"); | 453 | Vselection_coding_system=intern ("iso-latin-1-dos"); |
| 450 | 454 | ||
| 451 | DEFVAR_LISP ("next-selection-coding-system", &Vnext_selection_coding_system, | 455 | DEFVAR_LISP ("next-selection-coding-system", &Vnext_selection_coding_system, |
| 452 | "Coding system for the next communication with other X clients.\n\ | 456 | doc: /* Coding system for the next communication with other programs. |
| 453 | Usually, `selection-coding-system' is used for communicating with\n\ | 457 | Usually, `selection-coding-system' is used for communicating with |
| 454 | other X clients. But, if this variable is set, it is used for the\n\ | 458 | other programs. But, if this variable is set, it is used for the |
| 455 | next communication only. After the communication, this variable is\n\ | 459 | next communication only. After the communication, this variable is |
| 456 | set to nil."); | 460 | set to nil. */); |
| 457 | Vnext_selection_coding_system = Qnil; | 461 | Vnext_selection_coding_system = Qnil; |
| 458 | 462 | ||
| 459 | QCLIPBOARD = intern ("CLIPBOARD"); staticpro (&QCLIPBOARD); | 463 | QCLIPBOARD = intern ("CLIPBOARD"); staticpro (&QCLIPBOARD); |