* gnus/spam-stat.el (spam-stat-save): No need to tweak font-lock in temp buffers
This commit is contained in:
parent
dd8620de6e
commit
7029bc7d31
2 changed files with 4 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue