2003-06-09 Yuuichi Teranishi <teranisi@gohome.org>
* pgg-gpg.el (pgg-gpg-process-region): Undo the last change;
- Add --yes option to overwrite existing output file.
+ Add --yes option to overwrite existing output file;
+ Remove needless set-default-file-modes.
2003-05-29 Yuuichi Teranishi <teranisi@gohome.org>
,@pgg-gpg-extra-args ,@args))
(output-buffer pgg-output-buffer)
(errors-buffer pgg-errors-buffer)
- (orig-mode (default-file-modes))
(process-connection-type nil)
process status exit-status)
(with-current-buffer (get-buffer-create errors-buffer)
(erase-buffer))
(unwind-protect
(progn
- (set-default-file-modes 448)
(setq process
(apply #'binary-to-text-funcall
pgg-gpg-messages-coding-system
(if (and process (eq 'run (process-status process)))
(interrupt-process process))
(if (file-exists-p output-file-name)
- (delete-file output-file-name))
- (set-default-file-modes orig-mode))))
+ (delete-file output-file-name)))))
(defun pgg-gpg-possibly-cache-passphrase (passphrase)
(if (and pgg-cache-passphrase