From c830e46b7b867b812d6e4ed2188fee356fe2cdff Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 22 Nov 2012 11:05:28 +0900 Subject: [PATCH] fix bug --- emacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 46d0819..b8e9caa 100644 --- a/emacs.el +++ b/emacs.el @@ -1805,7 +1805,7 @@ not happen.") "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 auto-saving." - (if sec + (if secs (progn (when autosave-buffer (cancel-timer autosave-buffer) (setq autosave-buffer nil))