Subject: Re: bug#15479: Feature request: defcustom inherit type

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 07 Oct 2019 17:32:33 +0200

Devin Homan <[email-masked]> writes:

> For example, in the provided source there is:
>
> (defcustom foo-bar "A" "Doc." :group foo :type '(string))
>
> (defun foo-smash () "Doc." (message "%s" foo-bar))
>
> (provide 'foo)
>
> then the client code can have:
>
> (require 'foo)
>
> (defcustom cat-thing1 "B" "Doc." :group cat :type '(inherit foo-bar))
>
> (defcustom cat-thing2 "C" "Doc." :group cat :type '(inherit foo-bar))

This sounds nice, but I don't think it's necessary to have an operator
for this.  You can just say

:type (get 'foo-bar 'custom-type)

and get the same effect.  So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no