diff options
| author | Lars Ingebrigtsen | 2019-05-18 11:18:42 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-05-18 11:18:53 +0200 |
| commit | 4bf447bb912d73c4637f1094c265994dd99ff7e8 (patch) | |
| tree | 732642c9ea1b4def8526674e0e50f23321198565 | |
| parent | 168b8322c375a4b4044d57d37f3b81798271dd92 (diff) | |
| download | emacs-4bf447bb912d73c4637f1094c265994dd99ff7e8.tar.gz emacs-4bf447bb912d73c4637f1094c265994dd99ff7e8.zip | |
(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'.
| -rw-r--r-- | lisp/epa-file.el | 4 |
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)) |