Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7029bc7d
Commit
7029bc7d
authored
May 29, 2013
by
Glenn Morris
Browse files
* gnus/spam-stat.el (spam-stat-save): No need to tweak font-lock in temp buffers
parent
dd8620de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+3
-0
lisp/gnus/spam-stat.el
lisp/gnus/spam-stat.el
+1
-2
No files found.
lisp/gnus/ChangeLog
View file @
7029bc7d
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>
...
...
lisp/gnus/spam-stat.el
View file @
7029bc7d
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment