GNU bug report logs - #16276
defcustom should require a :type

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 28 Dec 2013 08:41:02 UTC

Severity: wishlist

Found in version 24.3

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: defcustom should require a :type
Date: Sat, 28 Dec 2013 03:40:33 -0500
Package: emacs
Version: 24.3
Severity: wishlist

I think it should be a compile-time error to specify a defcustom without
a type. Currently there is not even a warning.
If you really can't figure out the type, it won't kill you to write
:type 'sexp (but you can almost always do better).




This bug report was last modified 8 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.