changeset 13389:3b84f89755f4

(sh-remember-variable): Set variable to empty string, so as not to mess up subprocesses' environment. Not so nice for completion.
author Karl Heuer <kwzh@gnu.org>
date Fri, 03 Nov 1995 03:16:36 +0000
parents af2bb7490ca9
children 333a77bb4ae8
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Fri Nov 03 03:11:24 1995 +0000
+++ b/lisp/progmodes/sh-script.el	Fri Nov 03 03:16:36 1995 +0000
@@ -887,7 +887,7 @@
   "Make VARIABLE available for future completing reads in this buffer."
   (or (< (length var) sh-remember-variable-min)
       (getenv var)
-      (setq process-environment (cons (concat var "=0") process-environment)))
+      (setq process-environment (cons (concat var "=") process-environment)))
   var)