unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: German Pacenza <germanp82@hotmail.com>, 58372@debbugs.gnu.org
Subject: bug#58372: 29.0.50; Problem binding prefix maps
Date: Sat, 8 Oct 2022 12:36:58 +0200	[thread overview]
Message-ID: <CADwFkmkakuDo+yp9fQ1mY6KRRhpfJkvkWSct6Z1PFipd5RioVQ@mail.gmail.com> (raw)
In-Reply-To: <DM5PR2201MB116147A468871666B9DE46BDA75E9@DM5PR2201MB1161.namprd22.prod.outlook.com>

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)





  reply	other threads:[~2022-10-08 10:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-08  1:36 bug#58372: 29.0.50; Problem binding prefix maps German Pacenza
2022-10-08 10:36 ` Stefan Kangas [this message]
2022-10-08 11:39   ` German Pacenza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmkakuDo+yp9fQ1mY6KRRhpfJkvkWSct6Z1PFipd5RioVQ@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=58372@debbugs.gnu.org \
    --cc=germanp82@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).