emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More `defcustom` type byte-compiler warnings


From: Mattias Engdegård
Subject: More `defcustom` type byte-compiler warnings
Date: Sun, 17 Sep 2023 17:48:31 +0200

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]