From: Karl Heuer Date: Thu, 3 Mar 1994 17:39:32 +0000 (+0000) Subject: Use add-hook instead of setq. X-Git-Tag: emacs-19.34~9682 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=590496255af18909cce5552ce5b9e333585f13c0;p=emacs.git Use add-hook instead of setq. --- diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index 02131a34add..d616fae71d0 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el @@ -568,7 +568,7 @@ The time should be in either 24 hour format or am/pm format." (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