aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-08 14:25:08 -0700
committerDan Nicolaescu2010-07-08 14:25:08 -0700
commit5842a27bbfb7efa6872824e501bc7ec98b631553 (patch)
treed173899af9cbed9d90d94cfc710e6ecc06dd1f6b /src/doc.c
parent71c44c04bb996abe77db8efd88255fde06532b10 (diff)
downloademacs-5842a27bbfb7efa6872824e501bc7ec98b631553.tar.gz
emacs-5842a27bbfb7efa6872824e501bc7ec98b631553.zip
Convert DEFUNs to standard C.
* src/alloc.c: Convert DEFUNs to standard C. * src/buffer.c: * src/bytecode.c: * src/callint.c: * src/callproc.c: * src/casefiddle.c: * src/casetab.c: * src/category.c: * src/character.c: * src/charset.c: * src/chartab.c: * src/cmds.c: * src/coding.c: * src/composite.c: * src/data.c: * src/dbusbind.c: * src/dired.c: * src/dispnew.c: * src/doc.c: * src/dosfns.c: * src/editfns.c: * src/emacs.c: * src/eval.c: * src/fileio.c: * src/filelock.c: * src/floatfns.c: * src/fns.c: * src/font.c: * src/fontset.c: * src/frame.c: * src/fringe.c: * src/image.c: * src/indent.c: * src/insdel.c: * src/keyboard.c: * src/keymap.c: * src/lread.c: * src/macros.c: * src/marker.c: * src/menu.c: * src/minibuf.c: * src/msdos.c: * src/nsfns.m: * src/nsmenu.m: * src/nsselect.m: * src/print.c: * src/process.c: * src/search.c: * src/sound.c: * src/syntax.c: * src/term.c: * src/terminal.c: * src/textprop.c: * src/undo.c: * src/w16select.c: * src/w32console.c: * src/w32fns.c: * src/w32font.c: * src/w32menu.c: * src/w32proc.c: * src/w32select.c: * src/window.c: * src/xdisp.c: * src/xfaces.c: * src/xfns.c: * src/xmenu.c: * src/xselect.c: * src/xsettings.c: * src/xsmfns.c: Likewise.
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;