Commit e9110dc5 authored by Richard M. Stallman's avatar Richard M. Stallman

(gnus-gnus-to-newsrc-format): Turn off version-control

before saving the .newsrc files.
parent 221ca406
......@@ -13411,6 +13411,8 @@ If FORCE is non-nil, the .newsrc file is read."
gnus-current-startup-file)))
;; Quickly loadable .newsrc.
(set-buffer (get-buffer-create " *Gnus-newsrc*"))
(make-local-variable 'version-control)
(setq version-control 'never)
(setq buffer-file-name (concat gnus-current-startup-file ".eld"))
(gnus-add-current-to-buffer-list)
(buffer-disable-undo (current-buffer))
......@@ -13485,6 +13487,8 @@ If FORCE is non-nil, the .newsrc file is read."
(if ranges (insert ","))))))
(insert "\n")))
(setq newsrc (cdr newsrc)))
(make-local-variable 'version-control)
(setq version-control 'never)
;; It has been reported that sometime the modtime on the .newsrc
;; file seems to be off. We really do want to overwrite it, so
;; we clear the modtime here before saving. It's a bit odd,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment