summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-02-16 20:46:55 -0500
committerChong Yidong <cyd@stupidchicken.com>2011-02-16 20:46:55 -0500
commitb9c82730f91a85fbeeb68edd0310d33d8f8f5ff7 (patch)
treefcf051803785c39dba4cc50bcad1bad80169e8a2
parent4648b91b097ad9f3dfbd8a988846293ea5a5c78c (diff)
downloademacs-b9c82730f91a85fbeeb68edd0310d33d8f8f5ff7.tar.gz
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.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/nnfolder.el4
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 <cyd@stupidchicken.com>
+
+ * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
+ in case it's not yet loaded.
+
2011-01-13 Chong Yidong <cyd@stupidchicken.com>
* 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)))