From: Lars Ingebrigtsen Date: Sat, 14 Apr 2018 22:09:47 +0000 (+0200) Subject: Remove call to string-as-unibyte in gnus-start.el X-Git-Tag: emacs-27.0.90~5203 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=30f5fa75da7719a22281402ec697aa40c8ce4ed1;p=emacs.git 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. --- 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