In doc/, use add-hook rather than setq for hooks
[bpt/emacs.git] / doc / lispintro / emacs-lisp-intro.texi
index 74ea8e2..f181569 100644 (file)
@@ -17755,7 +17755,7 @@ file that set values:
 
 @group
 ;; Set calendar highlighting colors
-(setq calendar-load-hook
+(add-hook 'calendar-load-hook
       (lambda ()
         (set-face-foreground 'diary-face   "skyblue")
         (set-face-background 'holiday-face "slate blue")