spam-stat.el (spam-stat-save): No need to tweak font-lock in temp buffers
authorGlenn Morris <rgm@gnu.org>
Thu, 30 May 2013 06:34:06 +0000 (06:34 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 30 May 2013 06:34:06 +0000 (06:34 +0000)
lisp/ChangeLog
lisp/spam-stat.el

index d3398ad..d8d6289 100644 (file)
@@ -1,5 +1,8 @@
 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.
 
 2013-05-29  Glenn Morris  <rgm@gnu.org>
index d75e819..135bfd4 100644 (file)
@@ -412,8 +412,7 @@ With a prefix argument save unconditionally."
   (when (or force spam-stat-dirty)
     (let ((coding-system-for-write spam-stat-coding-system))
       (with-temp-file spam-stat-file
-       (let ((standard-output (current-buffer))
-             (font-lock-maximum-size 0))
+       (let ((standard-output (current-buffer)))
          (insert (format ";-*- coding: %s; -*-\n" spam-stat-coding-system))
          (insert (format "(setq spam-stat-ngood %d spam-stat-nbad %d
 spam-stat (spam-stat-to-hash-table '(" spam-stat-ngood spam-stat-nbad))