From: ueno Date: Mon, 1 May 2006 00:48:24 +0000 (+0000) Subject: Fixed. X-Git-Tag: epg-0_0_2~61 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c7e7c5e059b95b0806404cbd6dcc19bb3979b3af;p=elisp%2Fepg.git Fixed. --- diff --git a/epg.el b/epg.el index 17aae6b..94767c1 100644 --- a/epg.el +++ b/epg.el @@ -1241,9 +1241,9 @@ You can then use `write-region' to write new data into the file." ;;;###autoload (defun epg-cancel (context) - (if (buffer-live-p (process-buffer process)) + (if (buffer-live-p (process-buffer (epg-context-process context))) (save-excursion - (set-buffer (process-buffer process)) + (set-buffer (process-buffer (epg-context-process context))) (epg-context-set-result-for epg-context 'error (cons '(quit)