diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc.c | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -34,7 +34,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 34 | #include "lisp.h" | 34 | #include "lisp.h" |
| 35 | #include "buffer.h" | 35 | #include "buffer.h" |
| 36 | 36 | ||
| 37 | Lisp_Object Vdoc_file_name; | 37 | Lisp_Object Vdoc_file_name, Vdata_directory; |
| 38 | 38 | ||
| 39 | Lisp_Object | 39 | Lisp_Object |
| 40 | get_doc_string (filepos) | 40 | get_doc_string (filepos) |
| @@ -493,6 +493,11 @@ syms_of_doc () | |||
| 493 | "Name of file containing documentation strings of built-in symbols."); | 493 | "Name of file containing documentation strings of built-in symbols."); |
| 494 | Vdoc_file_name = Qnil; | 494 | Vdoc_file_name = Qnil; |
| 495 | 495 | ||
| 496 | DEFVAR_LISP ("data-directory", &Vdata_directory, | ||
| 497 | "Directory of architecture-independent files that come with GNU Emacs,\n\ | ||
| 498 | intended for Emacs to use."); | ||
| 499 | Vdata_directory = Qnil; | ||
| 500 | |||
| 496 | defsubr (&Sdocumentation); | 501 | defsubr (&Sdocumentation); |
| 497 | defsubr (&Sdocumentation_property); | 502 | defsubr (&Sdocumentation_property); |
| 498 | defsubr (&Ssnarf_documentation); | 503 | defsubr (&Ssnarf_documentation); |