From: Karl Heuer Date: Fri, 3 Nov 1995 03:16:36 +0000 (+0000) Subject: (sh-remember-variable): Set variable to empty string, X-Git-Tag: emacs-19.34~2471 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7874dacdaaf9eb2e120474e969510663ce382917;p=emacs.git (sh-remember-variable): Set variable to empty string, so as not to mess up subprocesses' environment. Not so nice for completion. --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index f1ad6922180..5927a8069fe 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -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)