diff options
| author | Chong Yidong | 2006-11-18 21:01:33 +0000 |
|---|---|---|
| committer | Chong Yidong | 2006-11-18 21:01:33 +0000 |
| commit | cfefbbf4404963cdf042fb794e0456503aa8b591 (patch) | |
| tree | 683550caa3186438512f0e277120e2fe7dae750b | |
| parent | e725507a302c6c22f2d054d3c8fc359f1446d1d2 (diff) | |
| download | emacs-cfefbbf4404963cdf042fb794e0456503aa8b591.tar.gz emacs-cfefbbf4404963cdf042fb794e0456503aa8b591.zip | |
(comint-exec-1): Set EMACS and INSIDE_EMACS to t.
| -rw-r--r-- | lisp/comint.el | 3 |
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) |