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
f0fe5c14
Commit
f0fe5c14
authored
Sep 24, 2007
by
Michaël Cadilhac
Browse files
(whitespace-tickle-timer): Don't install the timer if
whitespace-rescan-timer-time is 0.
parent
104b04f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/whitespace.el
lisp/whitespace.el
+3
-1
No files found.
lisp/ChangeLog
View file @
f0fe5c14
2007-09-24 Micha,Ak(Bl Cadilhac <michael@cadilhac.name>
* whitespace.el (whitespace-tickle-timer): Don't install the timer if
whitespace-rescan-timer-time is 0.
2007-09-24 Karl Berry <karl@gnu.org>
* international/mule.el (coding-system-base): Fix doc string grammar.
...
...
lisp/whitespace.el
View file @
f0fe5c14
...
...
@@ -709,7 +709,9 @@ periodically for whitespace."
If timer is not set, then set it to scan the files in
`whitespace-all-buffer-files' periodically (defined by
`whitespace-rescan-timer-time') for whitespace creep."
(
if
(
and
whitespace-rescan-timer-time
(
not
whitespace-rescan-timer
))
(
if
(
and
whitespace-rescan-timer-time
(
/=
whitespace-rescan-timer-time
0
)
(
not
whitespace-rescan-timer
))
(
setq
whitespace-rescan-timer
(
add-timeout
whitespace-rescan-timer-time
'whitespace-rescan-files-in-buffers
nil
...
...
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