From 7ce301fdebc18eb0824220f0dd946587be41eba7 Mon Sep 17 00:00:00 2001 From: ueno Date: Wed, 26 Apr 2006 02:53:02 +0000 Subject: [PATCH] (epg-cancel): New function. --- ChangeLog | 1 + epg.el | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2b43d8f..1514622 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * epa.el (epa-select-keys): Don't set inhibit-quit when recursive-edit is called. + (epg-cancel): New function. 2006-04-25 Daiki Ueno diff --git a/epg.el b/epg.el index cbb7c87..b214859 100644 --- a/epg.el +++ b/epg.el @@ -1035,6 +1035,10 @@ You can then use `write-region' to write new data into the file." (delete-directory tempdir)))))) ;;;###autoload +(defun epg-cancel (context) + (delete-process (epg-context-process context))) + +;;;###autoload (defun epg-start-decrypt (context cipher) "Initiate a decrypt operation on CIPHER. CIPHER is a data object. -- 1.7.10.4