From bccbcb7911f906ae54c88024e532c92d16d7a4d6 Mon Sep 17 00:00:00 2001 From: ueno Date: Sun, 31 Dec 2006 12:21:55 +0000 Subject: [PATCH] (epa-decrypt-region): Don't use epa-display-info to display plaintext. --- epa.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/epa.el b/epa.el index 81a3de3..f52284a 100644 --- a/epa.el +++ b/epa.el @@ -771,8 +771,9 @@ Don't use this command in Lisp programs!" (delete-region start end) (goto-char start) (insert plain)) - (let ((epa-popup-info-window t)) - (epa-display-info plain))) + (with-output-to-temp-buffer "*Text*" + (set-buffer standard-output) + (insert plain))) (if (epg-context-result-for context 'verify) (epa-display-info (epg-verify-result-to-string (epg-context-result-for context 'verify))))))) -- 1.7.10.4