Browse Source

fix bug

pull/1/head
10sr 12 years ago
parent
commit
c830e46b7b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      emacs.el

+ 1
- 1
emacs.el View File

@@ -1805,7 +1805,7 @@ not happen.")
"Register timer so that the buffer will be saved automatically each time "Register timer so that the buffer will be saved automatically each time
when emacs is idle for SECS. When SECS is nil, stop the timer and disable when emacs is idle for SECS. When SECS is nil, stop the timer and disable
auto-saving." auto-saving."
(if sec
(if secs
(progn (when autosave-buffer (progn (when autosave-buffer
(cancel-timer autosave-buffer) (cancel-timer autosave-buffer)
(setq autosave-buffer nil)) (setq autosave-buffer nil))


Loading…
Cancel
Save