From: okazaki Date: Tue, 13 Mar 2001 05:47:07 +0000 (+0000) Subject: * wl-summary.el (wl-summary-mode): Use `make-local-hook' instead X-Git-Tag: wl-2_6-root~49 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca6b086c6de3937bcd377232013ab28f833a2e29;p=elisp%2Fwanderlust.git * wl-summary.el (wl-summary-mode): Use `make-local-hook' instead of `make-local-variable' for setting up `window-scroll-functions'. --- 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))