about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-12-09 12:49:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-12-09 12:49:29 +0000
commit405fd076567c439e6adc10b715ca72e652776757 (patch)
treee74b20fce183fed2ba3ef57d7eff8cf9ba3e5a94 /Src
parentde9a15ef2258765e9ada50c94d3c9f6d24b930ae (diff)
downloadzsh-405fd076567c439e6adc10b715ca72e652776757.tar.gz
zsh-405fd076567c439e6adc10b715ca72e652776757.tar.xz
zsh-405fd076567c439e6adc10b715ca72e652776757.zip
22057: don't use zsh/newuser in emulation
22058: tweak docs for release
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/newuser.c3
-rw-r--r--Src/options.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Src/Modules/newuser.c b/Src/Modules/newuser.c
index cbe09312f..e49a66121 100644
--- a/Src/Modules/newuser.c
+++ b/Src/Modules/newuser.c
@@ -64,6 +64,9 @@ boot_(UNUSED(Module m))
 	0 };
     const char **sp;
 
+    if (emulation != EMULATE_ZSH)
+	return;
+
     if (!dotdir)
 	dotdir = home;
 
diff --git a/Src/options.c b/Src/options.c
index 7011b2081..9400e5f89 100644
--- a/Src/options.c
+++ b/Src/options.c
@@ -33,7 +33,7 @@
 /* current emulation (used to decide which set of option letters is used) */
 
 /**/
-int emulation;
+mod_export int emulation;
  
 /* the options; e.g. if opts[SHGLOB] != 0, SH_GLOB is turned on */