From: teranisi Date: Thu, 22 Aug 2002 00:50:10 +0000 (+0000) Subject: * wl-xmas.el, wl-mule.el, wl-e21.el (wl-message-wheel-up): X-Git-Tag: elmo-mark-root~31 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b389ff91d45c91b91e75f798b7adab5e9966ea5;p=elisp%2Fwanderlust.git * wl-xmas.el, wl-mule.el, wl-e21.el (wl-message-wheel-up): Refer wl-message-buffer-name. (wl-message-wheel-down): Ditto. --- diff --git a/wl/ChangeLog b/wl/ChangeLog index aa1064f..68ea023 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,9 @@ +2002-08-22 Yuuichi Teranishi + + * wl-xmas.el, wl-mule.el, wl-e21.el (wl-message-wheel-up): + Refer wl-message-buffer-name. + (wl-message-wheel-down): Ditto. + 2002-08-21 Yuuichi Teranishi * wl-vars.el (wl-message-buffer-name): New user option. diff --git a/wl/wl-mule.el b/wl/wl-mule.el index 7038452..7dc9f6e 100644 --- a/wl/wl-mule.el +++ b/wl/wl-mule.el @@ -112,7 +112,7 @@ Special commands: (defun wl-message-wheel-up (event) (interactive "e") - (if (string-match (regexp-quote wl-message-buffer-cache-name) + (if (string-match (regexp-quote wl-message-buffer-name) (regexp-quote (buffer-name))) (wl-message-next-page) (let ((cur-buf (current-buffer)) @@ -128,7 +128,7 @@ Special commands: (defun wl-message-wheel-down (event) (interactive "e") - (if (string-match (regexp-quote wl-message-buffer-cache-name) + (if (string-match (regexp-quote wl-message-buffer-name) (regexp-quote (buffer-name))) (wl-message-prev-page) (let ((cur-buf (current-buffer)) diff --git a/wl/wl-xmas.el b/wl/wl-xmas.el index 1c94b77..eef5a0f 100644 --- a/wl/wl-xmas.el +++ b/wl/wl-xmas.el @@ -458,29 +458,35 @@ (defun wl-message-wheel-up (event) (interactive "e") - (let ((cur-buf (current-buffer)) - proceed) - (save-selected-window - (select-window (event-window event)) - (set-buffer cur-buf) - (setq proceed (wl-message-next-page))) - (when proceed - (if (memq 'shift (event-modifiers event)) - (wl-summary-down t) - (wl-summary-next t))))) + (if (string-match (regexp-quote wl-message-buffer-name) + (regexp-quote (buffer-name))) + (wl-message-prev-page) + (let ((cur-buf (current-buffer)) + proceed) + (save-selected-window + (select-window (event-window event)) + (set-buffer cur-buf) + (setq proceed (wl-message-next-page))) + (when proceed + (if (memq 'shift (event-modifiers event)) + (wl-summary-down t) + (wl-summary-next t)))))) (defun wl-message-wheel-down (event) (interactive "e") - (let ((cur-buf (current-buffer)) - proceed) - (save-selected-window - (select-window (event-window event)) - (set-buffer cur-buf) - (setq proceed (wl-message-prev-page))) - (when proceed - (if (memq 'shift (event-modifiers event)) - (wl-summary-up t) - (wl-summary-prev t))))) + (if (string-match (regexp-quote wl-message-buffer-name) + (regexp-quote (buffer-name))) + (wl-message-prev-page) + (let ((cur-buf (current-buffer)) + proceed) + (save-selected-window + (select-window (event-window event)) + (set-buffer cur-buf) + (setq proceed (wl-message-prev-page))) + (when proceed + (if (memq 'shift (event-modifiers event)) + (wl-summary-up t) + (wl-summary-prev t))))) (defun wl-draft-overload-menubar () (when (featurep 'menubar)