Commit 320cb80d authored by Werner LEMBERG's avatar Werner LEMBERG
Browse files

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

parent 7bd10db5
......@@ -2,6 +2,7 @@
* calc/calc-forms.el, calc/calc-sel: Replace `illegal' with
* midnight.el: Replace `illegal' with `invalid'.
2005-03-24 Stefan Monnier <>
;;; 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 <>
;; Maintainer: Sam Steingold <>
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment