From 06d3290198cebf7bb0be5797fd5795f8a6f15776 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 22 Nov 2012 08:43:36 +0900 Subject: [PATCH] make autosave-buffer interactive function --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index df1261f..4c85966 100644 --- a/emacs.el +++ b/emacs.el @@ -1803,8 +1803,9 @@ not happen.") (defvar autosave-buffer nil "Autosave timer object.") (defun autosave-buffer (secs) "Register timer so that the buffer will be saved automatically each time -when emacs is idle for SECS. When SECS is 0 or nil, stop the timer and disable +when Emacs is idle for SECS. When SECS is 0 or nil, stop the timer and disable auto-saving." + (interactive "nSeconds until autosaving (0 to disable autosaving.): ") (if (and secs (not (eq secs 0)))