* epa-file.el (epa-file-insert-file-contents): Set progress-callback.
authorueno <ueno>
Wed, 27 Sep 2006 06:13:53 +0000 (06:13 +0000)
committerueno <ueno>
Wed, 27 Sep 2006 06:13:53 +0000 (06:13 +0000)
(epa-file-write-region): Ditto.

ChangeLog
epa-file.el

index 2b55423..2446d43 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-09-27  Daiki Ueno  <ueno@unixuser.org>
 
+       * epa-file.el (epa-file-insert-file-contents): Set progress-callback.
+       (epa-file-write-region): Ditto.
+
        * epa.el (epa-decrypt-file): Set callbacks.
        (epa-sign-file): Ditto.
        (epa-encrypt-file): Ditto.
index 6f58c8c..80b1dbb 100644 (file)
      context
      (cons #'epa-file-passphrase-callback-function
           file))
+    (epg-context-set-progress-callback context
+                                      #'epa-progress-callback-function)
     (unwind-protect
        (progn
          (if replace
      context
      (cons #'epa-file-passphrase-callback-function
           file))
+    (epg-context-set-progress-callback context
+                                      #'epa-progress-callback-function)
     (condition-case error
        (setq string
              (epg-encrypt-string