]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove call to string-as-unibyte in gnus-start.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 22:09:47 +0000 (00:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 22:09:47 +0000 (00:09 +0200)
* lisp/gnus/gnus-start.el (gnus-read-newsrc-el-file): Remove
string-as-unibyte call, which appears not to do anything much in
modern Emacsen.

lisp/gnus/gnus-start.el

index cce201e1f11af3412b63dcbb63c18e45da2a742b..623055e1f65b2da75dfe7654a9948cf0b311a0ad 100644 (file)
@@ -2450,10 +2450,6 @@ If FORCE is non-nil, the .newsrc file is read."
            (setq gnus-format-specs gnus-default-format-specs)))
        (when gnus-newsrc-assoc
          (setq gnus-newsrc-alist gnus-newsrc-assoc))))
-    (dolist (elem gnus-newsrc-alist)
-      ;; Protect against broken .newsrc.el files.
-      (when (car elem)
-       (setcar elem (string-as-unibyte (car elem)))))
     (gnus-make-hashtable-from-newsrc-alist)
     (when (file-newer-than-file-p file ding-file)
       ;; Old format quick file