From 30f5fa75da7719a22281402ec697aa40c8ce4ed1 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 15 Apr 2018 00:09:47 +0200 Subject: Remove call to string-as-unibyte in gnus-start.el * 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 | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lisp/gnus/gnus-start.el') diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index cce201e1f11..623055e1f65 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el @@ -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 -- cgit v1.2.1