GNU bug report logs - #58372
29.0.50; Problem binding prefix maps

Previous Next

Package: emacs;

Reported by: German Pacenza <germanp82 <at> hotmail.com>

Date: Sat, 8 Oct 2022 01:42:01 UTC

Severity: normal

Found in version 29.0.50

Full log


Message #8 received at 58372 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: German Pacenza <germanp82 <at> hotmail.com>, 58372 <at> debbugs.gnu.org
Subject: Re: bug#58372: 29.0.50; Problem binding prefix maps
Date: Sat, 8 Oct 2022 12:36:58 +0200
German Pacenza <germanp82 <at> 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)




This bug report was last modified 2 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.