(let ((signature (concat file (if detached ".sig" ".gpg")))
(context (epg-make-context)))
(message "Signing %s..." (file-name-nondirectory file))
- (epg-sign-file context
- file
- signature)
+ (epg-sign-file context file signature)
(message "Signing %s...done" (file-name-nondirectory file))))
(defun epa-dired-do-sign (&optional detached)