summaryrefslogtreecommitdiff
path: root/lisp/gnus.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-03 17:49:44 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-03 17:49:44 +0000
commit7c706a3f244bbecf16fbcca8c2a8cb06cc1aa718 (patch)
tree99879bb416441ce31e87bc568c46d8769770c996 /lisp/gnus.el
parentcb911783e6b9c227faaa74f95560e722a21f83c9 (diff)
downloademacs-7c706a3f244bbecf16fbcca8c2a8cb06cc1aa718.tar.gz
(gnus-gnus-to-newsrc-format): Turn off version-control
before saving the .newsrc files.
Diffstat (limited to 'lisp/gnus.el')
-rw-r--r--lisp/gnus.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/gnus.el b/lisp/gnus.el
index ee9e648b7c1..299abcb257e 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -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,