[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58372: 29.0.50; Problem binding prefix maps
From: |
Stefan Kangas |
Subject: |
bug#58372: 29.0.50; Problem binding prefix maps |
Date: |
Sat, 8 Oct 2022 12:36:58 +0200 |
German Pacenza <germanp82@hotmail.com> 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)