emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 1ad6184: Remove a string-to-multibyte from nnmh.el


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 1ad6184: Remove a string-to-multibyte from nnmh.el
Date: Sat, 14 Apr 2018 19:00:06 -0400 (EDT)

branch: master
commit 1ad6184c37a0e0f537688ea7d5e6ceca5f364eaa
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Remove a string-to-multibyte from nnmh.el
    
    * lisp/gnus/nnmh.el (nnmh-request-list-1): Remove superfluous
    string-to-multibyte.
---
 lisp/gnus/nnmh.el | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el
index ea07ad7..33be64f 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)



reply via email to

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