summaryrefslogtreecommitdiff
path: root/lisp/epg.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/epg.el')
-rw-r--r--lisp/epg.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/epg.el b/lisp/epg.el
index 601504882e6..b3d39bb8505 100644
--- a/lisp/epg.el
+++ b/lisp/epg.el
@@ -602,6 +602,9 @@ callback data (if any)."
(setq process-environment
(cons (concat "GPG_TTY=" terminal-name)
(cons "TERM=xterm" process-environment))))
+ (setq process-environment
+ (cons (format "INSIDE_EMACS=%s,epg" emacs-version)
+ process-environment))
;; Record modified time of gpg-agent socket to restore the Emacs
;; frame on text terminal in `epg-wait-for-completion'.
;; See