unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* More `defcustom` type byte-compiler warnings
@ 2023-09-17 15:48 Mattias Engdegård
  0 siblings, 0 replies; only message in thread
From: Mattias Engdegård @ 2023-09-17 15:48 UTC (permalink / raw)
  To: emacs-devel

The byte-compiler now warns about more `defcustom` type mistakes.
As always, please take care of warnings in code that you know about.
The most common error seems to be misplaced keywords. For example,

  (const vanilla :tag "Vanilla flavour")

should be

  (const :tag "Vanilla flavour" vanilla)

because the keyword arguments must come first, after the type symbol.

If anything is unclear or could be improved, do tell.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-17 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-17 15:48 More `defcustom` type byte-compiler warnings Mattias Engdegård

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