Synch up with elmo-lunafy.
[elisp/wanderlust.git] / wl / wl-mule.el
index 7ae32fa..a00456e 100644 (file)
@@ -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))