]> git.eshelyaron.com Git - emacs.git/commitdiff
(epa-file-decode-and-insert): Byte compilation warning fix
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 18 May 2019 09:18:42 +0000 (11:18 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 18 May 2019 09:18:53 +0000 (11:18 +0200)
* lisp/epa-file.el (epa-file-decode-and-insert): Remove
superfluous call to `string-to-multibyte string'.

lisp/epa-file.el

index 35cd1ecfded318b6bdd59dffa81da546898878f3..d9886d3d67f39344b384cb6500b568c333f32bad 100644 (file)
@@ -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))