]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-remember-variable): Set variable to empty string,
authorKarl Heuer <kwzh@gnu.org>
Fri, 3 Nov 1995 03:16:36 +0000 (03:16 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 3 Nov 1995 03:16:36 +0000 (03:16 +0000)
so as not to mess up subprocesses' environment.  Not so nice for
completion.

lisp/progmodes/sh-script.el

index f1ad69221806f66bbbf361afb7d91ccee5c432ad..5927a8069fee6c47feaed2fcd778ebe17ce64d66 100644 (file)
@@ -887,7 +887,7 @@ region, clear header."
   "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)