aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorMattias EngdegÄrd2023-09-17 12:49:40 +0200
committerMattias EngdegÄrd2023-09-17 17:16:35 +0200
commitf8ea47ebf45c5ea0cd788667f7bdb805f42e08e0 (patch)
treee494cdd6d08b6a38de3ce5d346feb2eb3f501e1c /java/org/gnu
parente0070fc574a8621b2fbb1aaca678b974a3dc5fd5 (diff)
downloademacs-f8ea47ebf45c5ea0cd788667f7bdb805f42e08e0.tar.gz
emacs-f8ea47ebf45c5ea0cd788667f7bdb805f42e08e0.zip
Expanded defcustom type byte-compilation warnings (bug#65852)
Warn about more kinds of mistakes in :type arguments of `defcustom` and `define-widget`. These include: - misplaced keyword args, as in (const red :tag "A reddish hue") - missing subordinate types, as in (repeat :tag "List of names") or (choice list string) - duplicated values, as in (choice (const yes) (const yes)) - misplaced `other` member, as in (choice (const red) (other nil) (const blue)) - various type name mistakes, as in (vector bool functionp) * lisp/emacs-lisp/bytecomp.el (byte-compile--defcustom-type-quoted) (byte-compile-nogroup-warn): Remove. (byte-compile-normal-call): Remove call to the above. (bytecomp--cus-warn, bytecomp--check-cus-type) (bytecomp--custom-declare): New.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions