aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/epa-file.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/epa-file.el b/lisp/epa-file.el
index 35cd1ecfded..d9886d3d67f 100644
--- a/lisp/epa-file.el
+++ b/lisp/epa-file.el
@@ -105,9 +105,7 @@ encryption is used."
105 (if (fboundp 'decode-coding-inserted-region) 105 (if (fboundp 'decode-coding-inserted-region)
106 (save-restriction 106 (save-restriction
107 (narrow-to-region (point) (point)) 107 (narrow-to-region (point) (point))
108 (insert (if enable-multibyte-characters 108 (insert string)
109 (string-to-multibyte string)
110 string))
111 (decode-coding-inserted-region 109 (decode-coding-inserted-region
112 (point-min) (point-max) 110 (point-min) (point-max)
113 (substring file 0 (string-match epa-file-name-regexp file)) 111 (substring file 0 (string-match epa-file-name-regexp file))