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
commit1df5f84c47d5ed9da428f81a7f6ef56727a93556 (patch)
tree18974cef68fa1519b031a17fc0d3f86714dd1520 /src/doc.c
parentb6ab31ad350961caff48354d0308a02d06efe701 (diff)
downloademacs-1df5f84c47d5ed9da428f81a7f6ef56727a93556.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);