summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/doc.c b/src/doc.c
index 6dceb587fcb..0c0e62f4597 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -34,7 +34,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "lisp.h"
#include "buffer.h"
-Lisp_Object Vdoc_file_name;
+Lisp_Object Vdoc_file_name, Vdata_directory;
Lisp_Object
get_doc_string (filepos)
@@ -493,6 +493,11 @@ syms_of_doc ()
"Name of file containing documentation strings of built-in symbols.");
Vdoc_file_name = Qnil;
+ DEFVAR_LISP ("data-directory", &Vdata_directory,
+ "Directory of architecture-independent files that come with GNU Emacs,\n\
+intended for Emacs to use.");
+ Vdata_directory = Qnil;
+
defsubr (&Sdocumentation);
defsubr (&Sdocumentation_property);
defsubr (&Ssnarf_documentation);