Use `enchive-program-name` when encrypting file.

pull/12/head
Samrat Man Singh 2018-01-28 09:10:04 +05:30 committed by Samrat Man Singh
parent 12d9ae9613
commit 836b8cd29f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
(list file (buffer-size))))
((eq operation 'write-region)
(call-process-region (nth 0 args) (nth 1 args)
"enchive" nil nil nil
enchive-program-name nil nil nil
"archive" "/dev/stdin" (nth 2 args)))
((apply operation args)))))