X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=wl%2Fwl-mule.el;h=bf29d38d748cc55eddd61606a73682f7a9d1ed1a;hb=1d107a7b0e5b7f1b97a9764b3d35a369da2216d3;hp=7ae32fa3a14a0b13f211d6edab8b6aadae070b50;hpb=b9b9d404a0912f6ee172f2adfe249823af297bcd;p=elisp%2Fwanderlust.git diff --git a/wl/wl-mule.el b/wl/wl-mule.el index 7ae32fa..bf29d38 100644 --- a/wl/wl-mule.el +++ b/wl/wl-mule.el @@ -106,7 +106,8 @@ Special commands: (local-set-key [mouse-5] 'wl-message-wheel-up) (local-set-key [S-mouse-4] 'wl-message-wheel-down) (local-set-key [S-mouse-5] 'wl-message-wheel-up) - (set-keymap-parent wl-message-button-map (current-local-map)) + (if (fboundp 'set-keymap-parent) + (set-keymap-parent wl-message-button-map (current-local-map))) (define-key wl-message-button-map [mouse-2] 'wl-message-button-dispatcher)) @@ -170,7 +171,7 @@ Special commands: (local-set-key [menu-bar mail signature] '("Insert Signature" . insert-signature)) (local-set-key [menu-bar headers fcc] - '("FCC" . wl-draft-fcc))) + '("Fcc" . wl-draft-fcc))) (defun wl-draft-overload-functions () (wl-mode-line-buffer-identification) @@ -278,6 +279,11 @@ Warning: Unknown req `%S' with options `%S'" req options)) nil)))) match))))) +(defun wl-read-event-char () + "Get the next event." + (let ((event (read-event))) + (cons (and (numberp event) event) event))) + (require 'product) (product-provide (provide 'wl-mule) (require 'wl-version))