changeset 6170:9a33af7247e2

Use add-hook instead of setq.
author Karl Heuer <kwzh@gnu.org>
date Thu, 03 Mar 1994 17:39:32 +0000
parents 16fdee72722b
children 7f1756b0b478
files lisp/calendar/appt.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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