aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/epg.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/epg.el b/lisp/epg.el
index 7e3cec7b2b7..0c8f5c9b0ae 100644
--- a/lisp/epg.el
+++ b/lisp/epg.el
@@ -611,7 +611,9 @@ callback data (if any)."
611 "--list-options" "gpg-agent") 611 "--list-options" "gpg-agent")
612 0) 612 0)
613 (goto-char (point-min)) 613 (goto-char (point-min))
614 (re-search-forward "^allow-emacs-pinentry:.*:1$" nil t)))) 614 (re-search-forward
615 "^allow-emacs-pinentry:\\(?:.*:\\)\\{8\\}1"
616 nil t))))
615 (pinentry-start)) 617 (pinentry-start))
616 (setq process-environment 618 (setq process-environment
617 (cons (format "INSIDE_EMACS=%s,epg" emacs-version) 619 (cons (format "INSIDE_EMACS=%s,epg" emacs-version)