From 4c1793001c2b390bec48ef42f023887558e48e6e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 28 Nov 2006 02:19:20 +0000 Subject: [PATCH] (comint-exec-1): Provide Emacs version and `comint' in INSIDE_EMACS. --- lisp/comint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2