* mime-view.el: Add `mime-view-maybe-inherit-widget-keymap' to
authorueno <ueno>
Tue, 2 Oct 2001 03:15:16 +0000 (03:15 +0000)
committerueno <ueno>
Tue, 2 Oct 2001 03:15:16 +0000 (03:15 +0000)
`mime-view-mode-map' instead of `mime-view-define-keymap-hook'.
[cf. <emacs-mime-ja:950>]

mime-view.el

index b6ca861..4cedeff 100644 (file)
@@ -1221,7 +1221,7 @@ MEDIA-TYPE must be (TYPE . SUBTYPE), TYPE or t.  t means default."
   (when (boundp 'widget-keymap)
     (set-keymap-parent (current-local-map) widget-keymap)))
 
-(add-hook 'mime-view-define-keymap-hook 'mime-view-maybe-inherit-widget-keymap)
+(add-hook 'mime-view-mode-hook 'mime-view-maybe-inherit-widget-keymap)
          
 (defun mime-view-define-keymap (&optional default)
   (let ((mime-view-mode-map (if (keymapp default)