Subject: bug#58372: 29.0.50; Problem binding prefix maps

From: Stefan Kangas <[email-masked]>
Date: Sat, 8 Oct 2022 12:36:58 +0200

German Pacenza <[email-masked]> writes:

> Hi, some prefix maps like project-prefix-map, tab-prefix-map,
> window-prefix-map can't be bound:
>
> emacs -Q:
> (define-key global-map (kbd "C-t") #'project-prefix-map)
> Press C-t
> "Wrong type argument: commandp, project-prefix-map"
>
> Adding
> (fset 'project-prefix-map project-prefix-map)
> like vc-prefix-map does fixes the issue.

Does this cover your use case?

    (define-key global-map (kbd "C-t") project-prefix-map)