Commit 4cf00b8c authored by Katsumi Yamaoka's avatar Katsumi Yamaoka

lisp/gnus/gnus-start.el (gnus-dribble-read-file): Don't stop auto-saving

parent aeb894a9
2014-07-07 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-start.el (gnus-dribble-read-file): Don't stop the auto-saving of
the dribble buffer even when it is shrunk a lot.
<http://thread.gmane.org/gmane.emacs.gnus.user/16923>
2014-06-26 Glenn Morris <rgm@gnu.org>
* mm-util.el (help-function-arglist): Remove outdated declaration.
......
......@@ -889,6 +889,11 @@ If REGEXP is given, lines that match it will be deleted."
(setq buffer-save-without-query t)
(erase-buffer)
(setq buffer-file-name dribble-file)
;; The buffer may be shrunk a lot when deleting old entries.
;; It caused the auto-saving to stop.
(if (featurep 'emacs)
(set (make-local-variable 'auto-save-include-big-deletions) t)
(set (make-local-variable 'disable-auto-save-when-buffer-shrinks) nil))
(auto-save-mode t)
(buffer-disable-undo)
(bury-buffer (current-buffer))
......
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