summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-start.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2018-04-15 00:09:47 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2018-04-15 00:09:47 +0200
commit30f5fa75da7719a22281402ec697aa40c8ce4ed1 (patch)
tree61bc11aa5e079834e31158fa55ef26b43beb0864 /lisp/gnus/gnus-start.el
parent07672a06d3d486c66eddaf88dbdd2a3c01c72839 (diff)
downloademacs-30f5fa75da7719a22281402ec697aa40c8ce4ed1.tar.gz
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.
Diffstat (limited to 'lisp/gnus/gnus-start.el')
-rw-r--r--lisp/gnus/gnus-start.el4
1 files changed, 0 insertions, 4 deletions
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