Subject: bug#16744: 24.3.50; REGRESSION: C-h v does not show doc for `ediff-highlight-all-diffs'

From: Michael Kifer <[email-masked]>
Date: Fri, 14 Feb 2014 16:52:25 -0500

On 02/14/2014 03:58 PM, Eli Zaretskii wrote:

Date: Fri, 14 Feb 2014 14:14:22 -0500
From: Michael Kifer <[email-masked]>
CC: [email-masked], [email-masked]

But why do we need both the defcustom and the defvar in the macro?

First, this was written a few years before defcustom came about.
Second, I haven't followed things for a number of years.
Is it possible to define permanent local vars using defcustom now?

I don't know. Anyone?

So, Glen's reply confirms it.  Short of fixing defcustom, the right solution would be to tell defvar to not zap defcustom's doc-string with an empty string, as it was before the change.  Not sure when this change in behavior of defvar happened, but probably within the last year or so.