* epg.el (epg--process-filter): Allow only one status handler to run at a
authorueno <ueno>
Tue, 18 Jul 2006 01:09:52 +0000 (01:09 +0000)
committerueno <ueno>
Tue, 18 Jul 2006 01:09:52 +0000 (01:09 +0000)
time; update epg-read-point everytime the point changes.

ChangeLog
epg.el

index 76da7f0..4c1b1e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,7 +3,7 @@
        * epg.el (epg-process-filter-running): New variable.
        (epg--start): Setup epg-process-filter-running.
        (epg--process-filter): Allow only one status handler to run at a
-       time.
+       time; update epg-read-point everytime the point changes.
 
 2006-07-14  Daiki Ueno  <ueno@unixuser.org>
 
diff --git a/epg.el b/epg.el
index 82d5cb6..70b6de1 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -881,8 +881,8 @@ This function is for internal use only."
                          (if (and symbol
                                   (fboundp symbol))
                              (funcall symbol epg-context string)))))
-                 (forward-line))
-               (setq epg-read-point (point)))
+                 (forward-line)
+                 (setq epg-read-point (point))))
            (setq epg-process-filter-running nil))))))
 
 (defun epg-read-output (context)