aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2018-04-15 00:09:47 +0200
committerLars Ingebrigtsen2018-04-15 00:09:47 +0200
commit30f5fa75da7719a22281402ec697aa40c8ce4ed1 (patch)
tree61bc11aa5e079834e31158fa55ef26b43beb0864
parent07672a06d3d486c66eddaf88dbdd2a3c01c72839 (diff)
downloademacs-30f5fa75da7719a22281402ec697aa40c8ce4ed1.tar.gz
emacs-30f5fa75da7719a22281402ec697aa40c8ce4ed1.zip
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.
-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."
2450 (setq gnus-format-specs gnus-default-format-specs))) 2450 (setq gnus-format-specs gnus-default-format-specs)))
2451 (when gnus-newsrc-assoc 2451 (when gnus-newsrc-assoc
2452 (setq gnus-newsrc-alist gnus-newsrc-assoc)))) 2452 (setq gnus-newsrc-alist gnus-newsrc-assoc))))
2453 (dolist (elem gnus-newsrc-alist)
2454 ;; Protect against broken .newsrc.el files.
2455 (when (car elem)
2456 (setcar elem (string-as-unibyte (car elem)))))
2457 (gnus-make-hashtable-from-newsrc-alist) 2453 (gnus-make-hashtable-from-newsrc-alist)
2458 (when (file-newer-than-file-p file ding-file) 2454 (when (file-newer-than-file-p file ding-file)
2459 ;; Old format quick file 2455 ;; Old format quick file