[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53153: package-quickstart: unusual autoload form in selectrum gives
From: |
Stefan Kangas |
Subject: |
bug#53153: package-quickstart: unusual autoload form in selectrum gives byte-compilation warning |
Date: |
Thu, 13 Jan 2022 03:20:38 -0800 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> define-minor-mode expands to (among many other things) a defcustom form,
> I think?
Aha, yes. So here's a minimal reproducer:
testel="$(mktemp).el"
echo '(define-minor-mode foo-mode "" :global t)' > $testel
emacs -Q --batch --eval "(byte-compile-file \"$testel\")"
This gives:
In toplevel form:
tmp.mmmKTQXZHb.el:1:1: Warning: defcustom for ‘foo-mode’ fails to
specify containing group
tmp.mmmKTQXZHb.el:1:1: Warning: defcustom for ‘foo-mode’ fails to
specify containing group