Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
6169:16fdee72722b | 6170:9a33af7247e2 |
---|---|
566 ;; against the actual time. | 566 ;; against the actual time. |
567 | 567 |
568 (setq conv-time (+ (* hr 60) min)) | 568 (setq conv-time (+ (* hr 60) min)) |
569 conv-time)) | 569 conv-time)) |
570 | 570 |
571 (setq display-time-hook 'appt-check) | 571 (add-hook 'display-time-hook 'appt-check) |
572 | 572 |
573 ;;; appt.el ends here | 573 ;;; appt.el ends here |
574 | 574 |