elisp.eclass: Test if the DOCS variable has a value.
authorUlrich Müller <ulm@gentoo.org>
Fri, 21 Feb 2020 09:35:23 +0000 (10:35 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 22 Feb 2020 10:34:02 +0000 (11:34 +0100)
commit8202b9e60d84e77c03d4bc20b18d2d5ace0a713d
tree5c420169186dbfe79a332fabfe34a53ae76bdd9b
parentd24d916f9cda9b352b0d27da5e9d2606bd356011
elisp.eclass: Test if the DOCS variable has a value.

The current test for the return status of declare -p will be true
if DOCS is declared but otherwise has a void value. Test for presence
of an = sign in the output instead.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
eclass/elisp.eclass