1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Don't let-bind copyright-update in nnfolder-save-buffer.

See:
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00284.html
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00651.html

* nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
in case it's not yet loaded.
This commit is contained in:
Chong Yidong 2011-02-16 20:46:55 -05:00
parent 4648b91b09
commit b9c82730f9
2 changed files with 7 additions and 2 deletions

View file

@ -1099,8 +1099,8 @@ This command does not work if you use short group names."
(gnus-make-directory (file-name-directory (buffer-file-name)))
(let ((coding-system-for-write
(or nnfolder-file-coding-system-for-write
nnfolder-file-coding-system))
(copyright-update nil))
nnfolder-file-coding-system)))
(set (make-local-variable 'copyright-update) nil)
(save-buffer)))
(unless (or gnus-nov-is-evil nnfolder-nov-is-evil)
(nnfolder-save-nov)))