Commit 7029bc7d authored by Glenn Morris's avatar Glenn Morris
Browse files

* gnus/spam-stat.el (spam-stat-save): No need to tweak font-lock in temp buffers

parent dd8620de
2013-05-30 Glenn Morris <rgm@gnu.org> 2013-05-30 Glenn Morris <rgm@gnu.org>
   
* spam-stat.el (spam-stat-save):
No need to tweak font-lock in temp buffers.
* shr.el (shr-put-image): Silence compiler. * shr.el (shr-put-image): Silence compiler.
   
2013-05-29 Glenn Morris <rgm@gnu.org> 2013-05-29 Glenn Morris <rgm@gnu.org>
......
...@@ -412,8 +412,7 @@ With a prefix argument save unconditionally." ...@@ -412,8 +412,7 @@ With a prefix argument save unconditionally."
(when (or force spam-stat-dirty) (when (or force spam-stat-dirty)
(let ((coding-system-for-write spam-stat-coding-system)) (let ((coding-system-for-write spam-stat-coding-system))
(with-temp-file spam-stat-file (with-temp-file spam-stat-file
(let ((standard-output (current-buffer)) (let ((standard-output (current-buffer)))
(font-lock-maximum-size 0))
(insert (format ";-*- coding: %s; -*-\n" spam-stat-coding-system)) (insert (format ";-*- coding: %s; -*-\n" spam-stat-coding-system))
(insert (format "(setq spam-stat-ngood %d spam-stat-nbad %d (insert (format "(setq spam-stat-ngood %d spam-stat-nbad %d
spam-stat (spam-stat-to-hash-table '(" spam-stat-ngood spam-stat-nbad)) spam-stat (spam-stat-to-hash-table '(" spam-stat-ngood spam-stat-nbad))
......
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