* pgg-gpg.el (pgg-gpg-process-region): Insert process status into
authorShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 1 Mar 2003 21:37:15 +0000 (21:37 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 1 Mar 2003 21:37:15 +0000 (21:37 +0000)
errors-buffer. This produces a nicer error message in case of
problems.

lisp/ChangeLog
lisp/pgg-gpg.el

index 8e9f2bf..ab5d6d3 100644 (file)
@@ -1,3 +1,10 @@
+2003-03-01  Satyaki Das  <satyaki@theforce.stanford.edu>
+       (Trivial patch.)
+
+       * pgg-gpg.el (pgg-gpg-process-region): Insert process status into
+       errors-buffer. This produces a nicer error message in case of
+       problems.
+       
 2003-03-01  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * spam.el (spam-maybe-spam-stat-load, spam-maybe-spam-stat-load):
index 79e6aab..8718f44 100644 (file)
@@ -83,7 +83,8 @@
                  (insert-file-contents output-file-name)))
            (set-buffer errors-buffer)
            (if (not (equal exit-status 0))
-               (error "%s exited abnormally: '%s'" program exit-status))))
+               (insert (format "\n%s exited abnormally: '%s'\n"
+                                program exit-status)))))
       (if (file-exists-p output-file-name)
          (delete-file output-file-name))
       (set-default-file-modes orig-mode))))