From: Richard M. Stallman Date: Tue, 28 Nov 2006 02:19:20 +0000 (+0000) Subject: (comint-exec-1): Provide Emacs version and `comint' in INSIDE_EMACS. X-Git-Tag: emacs-pretest-22.0.92~428 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c1793001c2b390bec48ef42f023887558e48e6e;p=emacs.git (comint-exec-1): Provide Emacs version and `comint' in INSIDE_EMACS. --- diff --git a/lisp/comint.el b/lisp/comint.el index 33195204466..191807af847 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -770,7 +770,7 @@ buffer. The hook `comint-exec-hook' is run after each exec." (format "TERMCAP=emacs:co#%d:tc=unknown:" (window-width)))) (unless (getenv "EMACS") (list "EMACS=t")) - (list "INSIDE_EMACS=t") + (list (format "INSIDE_EMACS=%s,comint" emacs-version)) process-environment)) (default-directory (if (file-accessible-directory-p default-directory)