changeset 74280:548fcfa53e5e

(comint-exec-1): Provide Emacs version and `comint' in INSIDE_EMACS.
author Richard M. Stallman <rms@gnu.org>
date Tue, 28 Nov 2006 02:19:20 +0000
parents 47213acc9fb9
children 0c96941203c0
files lisp/comint.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Tue Nov 28 01:39:08 2006 +0000
+++ b/lisp/comint.el	Tue Nov 28 02:19:20 2006 +0000
@@ -770,7 +770,7 @@
 		  (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)