* wl-summary.el (wl-summary-mode): Use `make-local-hook' instead
authorokazaki <okazaki>
Tue, 13 Mar 2001 05:47:07 +0000 (05:47 +0000)
committerokazaki <okazaki>
Tue, 13 Mar 2001 05:47:07 +0000 (05:47 +0000)
of `make-local-variable' for setting up `window-scroll-functions'.

wl/wl-summary.el

index f078180..68ea945 100644 (file)
@@ -781,8 +781,8 @@ Entering Folder mode calls the value of `wl-summary-mode-hook'."
                                        wl-summary-buffer-unread-status))
   (easy-menu-add wl-summary-mode-menu)
   (when wl-summary-lazy-highlight
-    (make-local-variable 'window-scroll-functions)
-    (add-hook 'window-scroll-functions 'wl-highlight-summary-window))  
+    (make-local-hook 'window-scroll-functions)
+    (add-hook 'window-scroll-functions 'wl-highlight-summary-window nil t))
   ;; This hook may contain the function `wl-setup-summary' for reasons
   ;; of system internal to accord facilities for the Emacs variants.
   (run-hooks 'wl-summary-mode-hook))