Mercurial > emacs
diff lisp/comint.el @ 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 | 05d799bc0cda |
| children | 3fd6ffd8464f f1d13e615070 |
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)
