aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorKenichi Handa2010-07-09 15:55:27 +0900
committerKenichi Handa2010-07-09 15:55:27 +0900
commite1ffae3bb6b87eb824ea9c6291935584fc806cc4 (patch)
treeee223039304ceff6edbc2df45ef36f69805c369e /src/doc.c
parent80d4189187791916590b6c2b20b54588d432bb75 (diff)
parent0508c67f47a9b79684f2f454010a2d086df7f35b (diff)
downloademacs-e1ffae3bb6b87eb824ea9c6291935584fc806cc4.tar.gz
emacs-e1ffae3bb6b87eb824ea9c6291935584fc806cc4.zip
merge trunk
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/doc.c b/src/doc.c
index ce4c1ddda6a..a8f6217c4ce 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -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.
342Unless a non-nil second argument RAW is given, the 342Unless a non-nil second argument RAW is given, the
343string is passed through `substitute-command-keys'. */) 343string 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
469This differs from `get' in that it can refer to strings stored in the 468This 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
471aren't strings. */) 470aren'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;
558it specifies the file name (without a directory) of the DOC file. 556it specifies the file name (without a directory) of the DOC file.
559That file is found in `../etc' now; later, when the dumped Emacs is run, 557That file is found in `../etc' now; later, when the dumped Emacs is run,
560the same file name is found in the `doc-directory'. */) 558the 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
708Returns original STRING if no substitutions were made. Otherwise, 705Returns original STRING if no substitutions were made. Otherwise,
709a new string, without any text properties, is returned. */) 706a 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;