aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner LEMBERG2005-03-25 08:23:21 +0000
committerWerner LEMBERG2005-03-25 08:23:21 +0000
commit320cb80d2753ce9f99dd3f8aa014172de94a26d8 (patch)
treeddfb2465f168d1568e1dd75cf2fb991f4f60ef9b
parent7bd10db569d3711e58365200a685c0cc6c7e7723 (diff)
downloademacs-320cb80d2753ce9f99dd3f8aa014172de94a26d8.tar.gz
emacs-320cb80d2753ce9f99dd3f8aa014172de94a26d8.zip
* midnight.el: Replace `illegal' with `invalid'.
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/midnight.el4
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 99ff97a561d..4774ec0c084 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,7 @@
2 2
3 * calc/calc-forms.el, calc/calc-sel: Replace `illegal' with 3 * calc/calc-forms.el, calc/calc-sel: Replace `illegal' with
4 `invalid'. 4 `invalid'.
5 * midnight.el: Replace `illegal' with `invalid'.
5 6
62005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> 72005-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7 8
diff --git a/lisp/midnight.el b/lisp/midnight.el
index 37bdf065f51..a81ce37856a 100644
--- a/lisp/midnight.el
+++ b/lisp/midnight.el
@@ -1,6 +1,6 @@
1;;; midnight.el --- run something every midnight, e.g., kill old buffers 1;;; midnight.el --- run something every midnight, e.g., kill old buffers
2 2
3;;; Copyright (C) 1998, 2004 Free Software Foundation, Inc. 3;;; Copyright (C) 1998, 2004, 2005 Free Software Foundation, Inc.
4 4
5;; Author: Sam Steingold <sds@usa.net> 5;; Author: Sam Steingold <sds@usa.net>
6;; Maintainer: Sam Steingold <sds@usa.net> 6;; Maintainer: Sam Steingold <sds@usa.net>
@@ -215,7 +215,7 @@ the time when it is run.")
215Sets the first argument SYMB (which must be symbol `midnight-delay') 215Sets the first argument SYMB (which must be symbol `midnight-delay')
216to its second argument TM." 216to its second argument TM."
217 (assert (eq symb 'midnight-delay) t 217 (assert (eq symb 'midnight-delay) t
218 "Illegal argument to `midnight-delay-set': `%s'") 218 "Invalid argument to `midnight-delay-set': `%s'")
219 (set symb tm) 219 (set symb tm)
220 (when (timerp midnight-timer) (cancel-timer midnight-timer)) 220 (when (timerp midnight-timer) (cancel-timer midnight-timer))
221 (setq midnight-timer 221 (setq midnight-timer