]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't let-bind copyright-update in nnfolder-save-buffer.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 17 Feb 2011 01:46:55 +0000 (20:46 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 17 Feb 2011 01:46:55 +0000 (20:46 -0500)
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
lisp/gnus/nnfolder.el

index eecbe978c298503e8b9ca1a09fa485911650622b..f62a98c639ba0a6e60ba7e3785f57e1827ea683d 100644 (file)
@@ -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.
index a93f0913e42356dd133c4778adb2892f97aa2efa..d90e836e246a3188fe4ed2b7d0c63f3182861f9e 100644 (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)))