From b9c82730f91a85fbeeb68edd0310d33d8f8f5ff7 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 16 Feb 2011 20:46:55 -0500 Subject: [PATCH] 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. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/nnfolder.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index eecbe978c29..f62a98c639b 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2011-02-17 Chong Yidong + + * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update, + in case it's not yet loaded. + 2011-01-13 Chong Yidong * message.el (message-bury): Add special-case handling for Rmail. diff --git a/lisp/gnus/nnfolder.el b/lisp/gnus/nnfolder.el index a93f0913e42..d90e836e246 100644 --- a/lisp/gnus/nnfolder.el +++ b/lisp/gnus/nnfolder.el @@ -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))) -- 2.39.2