]> git.eshelyaron.com Git - emacs.git/commitdiff
(nnfolder-read-folder): Make sure that undo information is never recorded.
authorLute Kamstra <lute@gnu.org>
Sat, 4 Jun 2005 09:49:25 +0000 (09:49 +0000)
committerLute Kamstra <lute@gnu.org>
Sat, 4 Jun 2005 09:49:25 +0000 (09:49 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnfolder.el

index 36d17afab2dc670061aa08fd72b266678a4b4dd8..492852eef6828c9af13061a1c29de494abfc2e0d 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-04  Lute Kamstra  <lute@gnu.org>
+
+       * nnfolder.el (nnfolder-read-folder): Make sure that undo
+       information is never recorded.
+
 2005-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * gnus-art.el (gnus-emphasis-alist): Disable the strikethru thingy.
index 961f124a61493affbc924b35891de96ad915a942..20cdb3da273faeac59de95df9a9b9a32216e2a0e 100644 (file)
@@ -875,6 +875,7 @@ deleted.  Point is left where the deleted region was."
                         nnfolder-file-coding-system))
                    (nnheader-find-file-noselect file t)))))
     (mm-enable-multibyte) ;; Use multibyte buffer for future copying.
+    (buffer-disable-undo)
     (if (equal (cadr (assoc group nnfolder-scantime-alist))
               (nth 5 (file-attributes file)))
        ;; This looks up-to-date, so we don't do any scanning.
@@ -901,7 +902,6 @@ deleted.  Point is left where the deleted region was."
              maxid start end newscantime
              novbuf articles newnum
              buffer-read-only)
-         (buffer-disable-undo)
          (setq maxid (cdr active))
 
          (unless (or gnus-nov-is-evil nnfolder-nov-is-evil