Commit d4755e04 authored by Lute Kamstra's avatar Lute Kamstra

(nnfolder-read-folder): Make sure that undo information is never recorded.

parent b8987570
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> 2005-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
* gnus-art.el (gnus-emphasis-alist): Disable the strikethru thingy. * gnus-art.el (gnus-emphasis-alist): Disable the strikethru thingy.
......
...@@ -875,6 +875,7 @@ deleted. Point is left where the deleted region was." ...@@ -875,6 +875,7 @@ deleted. Point is left where the deleted region was."
nnfolder-file-coding-system)) nnfolder-file-coding-system))
(nnheader-find-file-noselect file t))))) (nnheader-find-file-noselect file t)))))
(mm-enable-multibyte) ;; Use multibyte buffer for future copying. (mm-enable-multibyte) ;; Use multibyte buffer for future copying.
(buffer-disable-undo)
(if (equal (cadr (assoc group nnfolder-scantime-alist)) (if (equal (cadr (assoc group nnfolder-scantime-alist))
(nth 5 (file-attributes file))) (nth 5 (file-attributes file)))
;; This looks up-to-date, so we don't do any scanning. ;; 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." ...@@ -901,7 +902,6 @@ deleted. Point is left where the deleted region was."
maxid start end newscantime maxid start end newscantime
novbuf articles newnum novbuf articles newnum
buffer-read-only) buffer-read-only)
(buffer-disable-undo)
(setq maxid (cdr active)) (setq maxid (cdr active))
(unless (or gnus-nov-is-evil nnfolder-nov-is-evil (unless (or gnus-nov-is-evil nnfolder-nov-is-evil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment