X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=wl%2Fwl-mule.el;h=a00456eb6bd126a724651aeb4599e31cf3d77d60;hb=8b003dd16e3d4a1f0d29b5fcd0f57a2ee294f967;hp=7ae32fa3a14a0b13f211d6edab8b6aadae070b50;hpb=b9b9d404a0912f6ee172f2adfe249823af297bcd;p=elisp%2Fwanderlust.git diff --git a/wl/wl-mule.el b/wl/wl-mule.el index 7ae32fa..a00456e 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,11 +171,11 @@ 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) - (local-set-key "\C-c\C-s" 'wl-draft-send);; override +;; (local-set-key "\C-c\C-s" 'wl-draft-send);; override (wl-draft-overload-menubar)) ;; for "ja-mule-canna-2.3.mini" on PocketBSD @@ -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))