Type checking for `define-widget'
commit554001dfa90be447dc0c71c596eb837d8e3b374b
authorDaniel Colascione <dancol@dancol.org>
Sat, 14 Mar 2015 23:32:04 +0000 (14 16:32 -0700)
committerDaniel Colascione <dancol@dancol.org>
Sat, 14 Mar 2015 23:32:04 +0000 (14 16:32 -0700)
tree1550781b31d7db94878ff42c4d514a08175dc3b7
parent3bf369928e44fd83c27ef436b05d9cd2b4abbfba
Type checking for `define-widget'

* lisp/widget.el (define-widget): Check that documentation is a string
or nil; prevent wailing and gnashing of teeth when users forget to
pass a docstring and wonder why their properties don't work.
lisp/ChangeLog
lisp/widget.el