From: Glenn Morris Date: Thu, 30 May 2013 03:25:29 +0000 (-0700) Subject: * gnus/spam-stat.el (spam-stat-save): No need to tweak font-lock in temp buffers X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7029bc7d31ddfe536647459594b48fb8e297fe0c;p=emacs.git * gnus/spam-stat.el (spam-stat-save): No need to tweak font-lock in temp buffers --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index b45abb618d8..eb12b67e733 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,8 @@ 2013-05-30 Glenn Morris + * 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 diff --git a/lisp/gnus/spam-stat.el b/lisp/gnus/spam-stat.el index d75e8198842..135bfd48e5f 100644 --- a/lisp/gnus/spam-stat.el +++ b/lisp/gnus/spam-stat.el @@ -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))