From ca6b086c6de3937bcd377232013ab28f833a2e29 Mon Sep 17 00:00:00 2001 From: okazaki Date: Tue, 13 Mar 2001 05:47:07 +0000 Subject: [PATCH] * wl-summary.el (wl-summary-mode): Use `make-local-hook' instead of `make-local-variable' for setting up `window-scroll-functions'. --- wl/wl-summary.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wl/wl-summary.el b/wl/wl-summary.el index f078180..68ea945 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -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)) -- 1.7.10.4