Subject: Re: bug#47252: 28.0.50; [PATCH] Make minibuffer-depth-indicator-function a defcustom

From: Robert Pluim <[email-masked]>
Date: Fri, 19 Mar 2021 11:49:32 +0100

>>>>> On Fri, 19 Mar 2021 10:31:36 +0100, Lars Ingebrigtsen <[email-masked]> said:

    Lars> Mauro Aranda <[email-masked]> writes:
    >> Gabriel <[email-masked]> writes:
    >> 
    >>> This simple patch makes 'minibuffer-depth-indicator-function' a
    >>> defcustom.
    >> 
    >> Since the default value is nil, I made a change after Lars pushed your
    >> patch to include nil as a supported value; else, the Customize interface
    >> reports a mismatch 

    Lars> Thanks.  But shouldn't

    Lars> +  :type '(choice (const :tag "Default" nil)
    Lars> +                 (function))

    Lars> be

    Lars> +  :type '(choice (const :tag "Default" nil)
    Lars> +                 function)

    Lars> ?

    >> (and I think we do have tests to check for this?)

    Lars> Yes, what's the test for this again?  

admin/cus-test.el

Robert
--