From: Chong Yidong Date: Thu, 17 Feb 2011 01:46:55 +0000 (-0500) Subject: Don't let-bind copyright-update in nnfolder-save-buffer. X-Git-Tag: emacs-23.3~18^2~19 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b9c82730f91a85fbeeb68edd0310d33d8f8f5ff7;p=emacs.git 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. --- 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)))