summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
authorJoseph Arceneaux <jla@gnu.org>1992-08-06 03:25:23 +0000
committerJoseph Arceneaux <jla@gnu.org>1992-08-06 03:25:23 +0000
commite6d38bed7ea3c8dfda5dde0941acd38fed2caaa0 (patch)
tree29263a21e97aa1cac4024c8a858e078c0672c9c3 /src/doc.c
parent012c6fcb48ff1d47324e74592bd6b75cc3d19aeb (diff)
downloademacs-e6d38bed7ea3c8dfda5dde0941acd38fed2caaa0.tar.gz
Declared Vdata_directory.
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);