summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-05-18 11:18:42 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-05-18 11:18:53 +0200
commit4bf447bb912d73c4637f1094c265994dd99ff7e8 (patch)
tree732642c9ea1b4def8526674e0e50f23321198565 /lisp
parent168b8322c375a4b4044d57d37f3b81798271dd92 (diff)
downloademacs-4bf447bb912d73c4637f1094c265994dd99ff7e8.tar.gz
(epa-file-decode-and-insert): Byte compilation warning fix
* lisp/epa-file.el (epa-file-decode-and-insert): Remove superfluous call to `string-to-multibyte string'.
Diffstat (limited to 'lisp')
-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."
(if (fboundp 'decode-coding-inserted-region)
(save-restriction
(narrow-to-region (point) (point))
- (insert (if enable-multibyte-characters
- (string-to-multibyte string)
- string))
+ (insert string)
(decode-coding-inserted-region
(point-min) (point-max)
(substring file 0 (string-match epa-file-name-regexp file))