Change mode-map-alist to keydef-mode-map-alist.