aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorJim Blandy1992-04-01 11:14:15 +0000
committerJim Blandy1992-04-01 11:14:15 +0000
commit08564963293aac2ea90a3dee54f48ded962238eb (patch)
tree4424e2ded321dd8606dabc4ef00a6f058108725b /src/doc.c
parentca1d1d23251bc8f159d0131d345702aabf2dd078 (diff)
downloademacs-08564963293aac2ea90a3dee54f48ded962238eb.tar.gz
emacs-08564963293aac2ea90a3dee54f48ded962238eb.zip
*** empty log message ***
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/doc.c b/src/doc.c
index a907118c9ea..48f6c4df685 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -102,8 +102,8 @@ get_doc_string (filepos)
102} 102}
103 103
104DEFUN ("documentation", Fdocumentation, Sdocumentation, 1, 2, 0, 104DEFUN ("documentation", Fdocumentation, Sdocumentation, 1, 2, 0,
105 "Return the documentation string of FUNCTION. 105 "Return the documentation string of FUNCTION.\n\
106Unless a non-nil second argument is given, the 106Unless a non-nil second argument is given, the\n\
107string is passed through `substitute-command-keys'.") 107string is passed through `substitute-command-keys'.")
108 (fun1, raw) 108 (fun1, raw)
109 Lisp_Object fun1, raw; 109 Lisp_Object fun1, raw;
@@ -182,7 +182,7 @@ subcommands.)");
182DEFUN ("documentation-property", Fdocumentation_property, Sdocumentation_property, 2, 2, 0, 182DEFUN ("documentation-property", Fdocumentation_property, Sdocumentation_property, 2, 2, 0,
183 "Return the documentation string that is SYMBOL's PROP property.\n\ 183 "Return the documentation string that is SYMBOL's PROP property.\n\
184This is like `get', but it can refer to strings stored in the\n\ 184This is like `get', but it can refer to strings stored in the\n\
185`share-lib/DOC' file; and if the value is a string, it is passed through\n\ 185`etc/DOC' file; and if the value is a string, it is passed through\n\
186`substitute-command-keys'. A non-nil third argument avoids this\n\ 186`substitute-command-keys'. A non-nil third argument avoids this\n\
187translation.") 187translation.")
188 (sym, prop, raw) 188 (sym, prop, raw)
@@ -201,10 +201,10 @@ translation.")
201DEFUN ("Snarf-documentation", Fsnarf_documentation, Ssnarf_documentation, 201DEFUN ("Snarf-documentation", Fsnarf_documentation, Ssnarf_documentation,
202 1, 1, 0, 202 1, 1, 0,
203 "Used during Emacs initialization, before dumping runnable Emacs,\n\ 203 "Used during Emacs initialization, before dumping runnable Emacs,\n\
204to find pointers to doc strings stored in `share-lib/DOC...' and\n\ 204to find pointers to doc strings stored in `etc/DOC...' and\n\
205record them in function definitions.\n\ 205record them in function definitions.\n\
206One arg, FILENAME, a string which does not include a directory.\n\ 206One arg, FILENAME, a string which does not include a directory.\n\
207The file is found in `../share-lib' now; found in the `data-directory'\n\ 207The file is found in `../etc' now; found in the `data-directory'\n\
208when doc strings are referred to later in the dumped Emacs.") 208when doc strings are referred to later in the dumped Emacs.")
209 (filename) 209 (filename)
210 Lisp_Object filename; 210 Lisp_Object filename;
@@ -222,7 +222,7 @@ when doc strings are referred to later in the dumped Emacs.")
222 222
223#ifndef CANNOT_DUMP 223#ifndef CANNOT_DUMP
224 name = (char *) alloca (XSTRING (filename)->size + 14); 224 name = (char *) alloca (XSTRING (filename)->size + 14);
225 strcpy (name, "../share-lib/"); 225 strcpy (name, "../etc/");
226#else /* CANNOT_DUMP */ 226#else /* CANNOT_DUMP */
227 CHECK_STRING (Vdata_directory, 0); 227 CHECK_STRING (Vdata_directory, 0);
228 name = (char *) alloca (XSTRING (filename)->size + 228 name = (char *) alloca (XSTRING (filename)->size +