enchive-mode.el: keep pinentry stderr noise out of the buffer

As usual with most GUI software, the GUI versions of pinentry are
inconsiderately noisy.
pull/10/head
Christopher Wellons 2017-12-24 08:37:11 -05:00
parent ed739bc3dd
commit 09db2b7f5a
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
(let ((file-name-handler-alist ()))
(cond ((eq operation 'insert-file-contents)
(let ((file (car args)))
(unless (= 0 (call-process "enchive" file t nil
(unless (= 0 (call-process "enchive" file '(t nil) nil
"--pinentry" "extract"))
(error "Enchive subprocess failed"))
(setf buffer-file-name file)