From fb4745d964ebcd828d51a34edc1395d38f53ab09 Mon Sep 17 00:00:00 2001 From: ueno Date: Mon, 1 May 2006 02:22:37 +0000 Subject: [PATCH] Fixed. --- epg.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epg.el b/epg.el index fb764a6..e4f9d35 100644 --- a/epg.el +++ b/epg.el @@ -613,7 +613,8 @@ This function is for internal use only." (defun epg-start (context args) "Start `epg-gpg-program' in a subprocess with given ARGS." - (if (eq (process-status (epg-context-process context)) 'run) + (if (and (epg-context-process context) + (eq (process-status (epg-context-process context)) 'run)) (error "%s is already running in this context" (if (eq (epg-context-protocol context) 'CMS) epg-gpgsm-program -- 1.7.10.4