diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-15 00:57:40 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-15 00:57:40 +0200 |
commit | 1ad6184c37a0e0f537688ea7d5e6ceca5f364eaa (patch) | |
tree | 28b0540042aa3ce35b5153ab93780261632adb73 | |
parent | 3250651e9cbb691db6dae04f2c13a139d81c6616 (diff) | |
download | emacs-1ad6184c37a0e0f537688ea7d5e6ceca5f364eaa.tar.gz |
Remove a string-to-multibyte from nnmh.el
* lisp/gnus/nnmh.el (nnmh-request-list-1): Remove superfluous
string-to-multibyte.
-rw-r--r-- | lisp/gnus/nnmh.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el index ea07ad75198..33be64fb8d2 100644 --- a/lisp/gnus/nnmh.el +++ b/lisp/gnus/nnmh.el @@ -241,12 +241,11 @@ as unread by Gnus.") (file-truename (file-name-as-directory (expand-file-name nnmh-toplev)))) dir) - (string-to-multibyte ;Why? Isn't it multibyte already? - (encode-coding-string - (nnheader-replace-chars-in-string - (substring dir (match-end 0)) - ?/ ?.) - nnmail-pathname-coding-system))) + (encode-coding-string + (nnheader-replace-chars-in-string + (substring dir (match-end 0)) + ?/ ?.) + nnmail-pathname-coding-system)) (or max 0) (or min 1)))))) t) |