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:
parent
8425db6a26
commit
c672572bd5
@ -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
|
(e.g. gpgme) down to the pinentry. We do not handle the locale
|
||||||
settings because they do not only depend on envvars. */
|
settings because they do not only depend on envvars. */
|
||||||
static struct
|
static struct
|
||||||
@ -74,6 +74,8 @@ static struct
|
|||||||
modules (eg "scim-bridge"). */
|
modules (eg "scim-bridge"). */
|
||||||
{ "QT_IM_MODULE" }, /* Used by Qt to select qt input
|
{ "QT_IM_MODULE" }, /* Used by Qt to select qt input
|
||||||
modules (eg "xim"). */
|
modules (eg "xim"). */
|
||||||
|
{ "INSIDE_EMACS" }, /* Set by Emacs before running a
|
||||||
|
process. */
|
||||||
{ "PINENTRY_USER_DATA", "pinentry-user-data"}
|
{ "PINENTRY_USER_DATA", "pinentry-user-data"}
|
||||||
/* Used for communication with
|
/* Used for communication with
|
||||||
non-standard Pinentries. */
|
non-standard Pinentries. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user