From 44fede4d8e691afda7fdd35777793e1408fecca1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 15 Aug 2011 22:18:10 -0400 Subject: [PATCH] Fix previous change. --- lisp/epa.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lisp/epa.el b/lisp/epa.el index 8ab9e6006e6..f0ec1ece0d1 100644 --- a/lisp/epa.el +++ b/lisp/epa.el @@ -843,15 +843,15 @@ For example: (or coding-system-for-read (get-text-property start 'epa-coding-system-used) 'undecided))) - (if (y-or-n-p "Replace the original text? ") - (let ((inhibit-read-only t)) - (delete-region start end) - (goto-char start) - (insert plain)) - (if make-buffer-function - (with-current-buffer (funcall make-buffer-function) - (let ((inhibit-read-only t)) - (insert plain))) + (if make-buffer-function + (with-current-buffer (funcall make-buffer-function) + (let ((inhibit-read-only t)) + (insert plain))) + (if (y-or-n-p "Replace the original text? ") + (let ((inhibit-read-only t)) + (delete-region start end) + (goto-char start) + (insert plain)) (with-output-to-temp-buffer "*Temp*" (set-buffer standard-output) (insert plain) -- 2.39.2