From: ueno Date: Mon, 1 May 2006 02:22:37 +0000 (+0000) Subject: Fixed. X-Git-Tag: epg-0_0_2~57 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=fb4745d964ebcd828d51a34edc1395d38f53ab09;p=elisp%2Fepg.git Fixed. --- 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