diff lisp/calendar/appt.el @ 6170:9a33af7247e2

Use add-hook instead of setq.
author Karl Heuer <kwzh@gnu.org>
date Thu, 03 Mar 1994 17:39:32 +0000
parents 9f37f85000d8
children 957444150c1a
line wrap: on
line diff
--- a/lisp/calendar/appt.el	Thu Mar 03 17:35:55 1994 +0000
+++ b/lisp/calendar/appt.el	Thu Mar 03 17:39:32 1994 +0000
@@ -568,7 +568,7 @@
     (setq conv-time (+ (* hr 60) min))
     conv-time))
 
-(setq display-time-hook 'appt-check)
+(add-hook 'display-time-hook 'appt-check)
 
 ;;; appt.el ends here