unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56973: :keymap in register-definition-prefixes in loaddefs
@ 2022-08-04 12:16 Stefan Kangas
  2022-08-04 13:29 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Kangas @ 2022-08-04 12:16 UTC (permalink / raw)
  To: 56973; +Cc: Lars Ingebrigtsen

Severity: minor

I see in ldefs-boot.el lines like:

    (register-definition-prefixes "gnus-sum" '(":keymap" "gnus-"))

The ":keymap" there is from definitions like:

    (define-keymap :keymap gnus-summary-mode-map
        ...)

I'm not sure what is the best fix, however.  Should such cases just be
changed to use `defvar-keymap', or should we add `define-keymap' to
`autoload-ignored-definitions'?





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#56973: :keymap in register-definition-prefixes in loaddefs
  2022-08-04 12:16 bug#56973: :keymap in register-definition-prefixes in loaddefs Stefan Kangas
@ 2022-08-04 13:29 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-04 13:29 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 56973

Stefan Kangas <stefan@marxist.se> writes:

> I see in ldefs-boot.el lines like:
>
>     (register-definition-prefixes "gnus-sum" '(":keymap" "gnus-"))
>
> The ":keymap" there is from definitions like:
>
>     (define-keymap :keymap gnus-summary-mode-map
>         ...)
>
> I'm not sure what is the best fix, however.  Should such cases just be
> changed to use `defvar-keymap', or should we add `define-keymap' to
> `autoload-ignored-definitions'?

I've added it to `autoload-ignored-definitions' -- these can't be
directly translated to `defvar-keymap' for backwards compatibility
reasons, if I remember correctly.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-04 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 12:16 bug#56973: :keymap in register-definition-prefixes in loaddefs Stefan Kangas
2022-08-04 13:29 ` Lars Ingebrigtsen

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).