emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4bf447b: (epa-file-decode-and-insert): Byte compila


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 4bf447b: (epa-file-decode-and-insert): Byte compilation warning fix
Date: Sat, 18 May 2019 05:18:57 -0400 (EDT)

branch: master
commit 4bf447bb912d73c4637f1094c265994dd99ff7e8
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    (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'.
---
 lisp/epa-file.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/epa-file.el b/lisp/epa-file.el
index 35cd1ec..d9886d3 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]