1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

* midnight.el: Replace illegal' with invalid'.

This commit is contained in:
Werner LEMBERG 2005-03-25 08:23:21 +00:00
parent 7bd10db569
commit 320cb80d27
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
* calc/calc-forms.el, calc/calc-sel: Replace `illegal' with
`invalid'.
* midnight.el: Replace `illegal' with `invalid'.
2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca>

View File

@ -1,6 +1,6 @@
;;; midnight.el --- run something every midnight, e.g., kill old buffers
;;; Copyright (C) 1998, 2004 Free Software Foundation, Inc.
;;; Copyright (C) 1998, 2004, 2005 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'")
"Invalid argument to `midnight-delay-set': `%s'")
(set symb tm)
(when (timerp midnight-timer) (cancel-timer midnight-timer))
(setq midnight-timer