aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/comint.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 48b747065b5..33195204466 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -769,7 +769,8 @@ buffer. The hook `comint-exec-hook' is run after each exec."
769 (list "TERM=emacs" 769 (list "TERM=emacs"
770 (format "TERMCAP=emacs:co#%d:tc=unknown:" (window-width)))) 770 (format "TERMCAP=emacs:co#%d:tc=unknown:" (window-width))))
771 (unless (getenv "EMACS") 771 (unless (getenv "EMACS")
772 (list (concat "EMACS=" invocation-directory invocation-name))) 772 (list "EMACS=t"))
773 (list "INSIDE_EMACS=t")
773 process-environment)) 774 process-environment))
774 (default-directory 775 (default-directory
775 (if (file-accessible-directory-p default-directory) 776 (if (file-accessible-directory-p default-directory)