(midnight-delay-set): Remove extra format string

argument.
This commit is contained in:
Andreas Schwab 2004-02-08 22:33:15 +00:00
parent d7f9eef038
commit 9c923d35fc

View file

@ -1,6 +1,6 @@
;;; midnight.el --- run something every midnight, e.g., kill old buffers
;;; Copyright (C) 1998 Free Software Foundation, Inc.
;;; Copyright (C) 1998, 2004 Free Software Foundation, Inc.
;; Author: Sam Steingold <sds@usa.net>
;; Maintainer: Sam Steingold <sds@usa.net>
@ -215,7 +215,7 @@ the time when it is run.")
Sets the first argument SYMB (which must be symbol `midnight-delay')
to its second argument TM."
(assert (eq symb 'midnight-delay) t
"Illegal argument to `midnight-delay-set': `%s'" symb)
"Illegal argument to `midnight-delay-set': `%s'")
(set symb tm)
(when (timerp midnight-timer) (cancel-timer midnight-timer))
(setq midnight-timer