From c7e7c5e059b95b0806404cbd6dcc19bb3979b3af Mon Sep 17 00:00:00 2001 From: ueno Date: Mon, 1 May 2006 00:48:24 +0000 Subject: [PATCH] Fixed. --- epg.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.10.4