mirror of https://github.com/skeeto/enchive.git
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
parent
ed739bc3dd
commit
09db2b7f5a
|
@ -24,7 +24,7 @@
|
||||||
(let ((file-name-handler-alist ()))
|
(let ((file-name-handler-alist ()))
|
||||||
(cond ((eq operation 'insert-file-contents)
|
(cond ((eq operation 'insert-file-contents)
|
||||||
(let ((file (car args)))
|
(let ((file (car args)))
|
||||||
(unless (= 0 (call-process "enchive" file t nil
|
(unless (= 0 (call-process "enchive" file '(t nil) nil
|
||||||
"--pinentry" "extract"))
|
"--pinentry" "extract"))
|
||||||
(error "Enchive subprocess failed"))
|
(error "Enchive subprocess failed"))
|
||||||
(setf buffer-file-name file)
|
(setf buffer-file-name file)
|
||||||
|
|
Loading…
Reference in New Issue