1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Convey envvar INSIDE_EMACS to the pinentry.

* common/session-env.c (stdenvnames): Add it.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2015-06-08 18:58:27 +02:00
parent 8425db6a26
commit c672572bd5
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -56,7 +56,7 @@ struct session_environment_s
};
/* A list of environment vribales we pass from the actual user
/* A list of environment variables we pass from the actual user
(e.g. gpgme) down to the pinentry. We do not handle the locale
settings because they do not only depend on envvars. */
static struct
@ -74,6 +74,8 @@ static struct
modules (eg "scim-bridge"). */
{ "QT_IM_MODULE" }, /* Used by Qt to select qt input
modules (eg "xim"). */
{ "INSIDE_EMACS" }, /* Set by Emacs before running a
process. */
{ "PINENTRY_USER_DATA", "pinentry-user-data"}
/* Used for communication with
non-standard Pinentries. */