diff options
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 12 |
1 files changed, 4 insertions, 8 deletions
| @@ -341,8 +341,7 @@ DEFUN ("documentation", Fdocumentation, Sdocumentation, 1, 2, 0, | |||
| 341 | doc: /* Return the documentation string of FUNCTION. | 341 | doc: /* Return the documentation string of FUNCTION. |
| 342 | Unless a non-nil second argument RAW is given, the | 342 | Unless a non-nil second argument RAW is given, the |
| 343 | string is passed through `substitute-command-keys'. */) | 343 | string is passed through `substitute-command-keys'. */) |
| 344 | (function, raw) | 344 | (Lisp_Object function, Lisp_Object raw) |
| 345 | Lisp_Object function, raw; | ||
| 346 | { | 345 | { |
| 347 | Lisp_Object fun; | 346 | Lisp_Object fun; |
| 348 | Lisp_Object funcar; | 347 | Lisp_Object funcar; |
| @@ -469,8 +468,7 @@ Third argument RAW omitted or nil means pass the result through | |||
| 469 | This differs from `get' in that it can refer to strings stored in the | 468 | This differs from `get' in that it can refer to strings stored in the |
| 470 | `etc/DOC' file; and that it evaluates documentation properties that | 469 | `etc/DOC' file; and that it evaluates documentation properties that |
| 471 | aren't strings. */) | 470 | aren't strings. */) |
| 472 | (symbol, prop, raw) | 471 | (Lisp_Object symbol, Lisp_Object prop, Lisp_Object raw) |
| 473 | Lisp_Object symbol, prop, raw; | ||
| 474 | { | 472 | { |
| 475 | int try_reload = 1; | 473 | int try_reload = 1; |
| 476 | Lisp_Object tem; | 474 | Lisp_Object tem; |
| @@ -558,8 +556,7 @@ The function takes one argument, FILENAME, a string; | |||
| 558 | it specifies the file name (without a directory) of the DOC file. | 556 | it specifies the file name (without a directory) of the DOC file. |
| 559 | That file is found in `../etc' now; later, when the dumped Emacs is run, | 557 | That file is found in `../etc' now; later, when the dumped Emacs is run, |
| 560 | the same file name is found in the `doc-directory'. */) | 558 | the same file name is found in the `doc-directory'. */) |
| 561 | (filename) | 559 | (Lisp_Object filename) |
| 562 | Lisp_Object filename; | ||
| 563 | { | 560 | { |
| 564 | int fd; | 561 | int fd; |
| 565 | char buf[1024 + 1]; | 562 | char buf[1024 + 1]; |
| @@ -707,8 +704,7 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int | |||
| 707 | 704 | ||
| 708 | Returns original STRING if no substitutions were made. Otherwise, | 705 | Returns original STRING if no substitutions were made. Otherwise, |
| 709 | a new string, without any text properties, is returned. */) | 706 | a new string, without any text properties, is returned. */) |
| 710 | (string) | 707 | (Lisp_Object string) |
| 711 | Lisp_Object string; | ||
| 712 | { | 708 | { |
| 713 | unsigned char *buf; | 709 | unsigned char *buf; |
| 714 | int changed = 0; | 710 | int changed = 0; |