Subject: bug#74362: 31.0.50; Add completions for font names

From: Robert Pluim <[email-masked]>
Date: Fri, 15 Nov 2024 09:39:29 +0100

>>>>> On Thu, 14 Nov 2024 17:48:54 -0500, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email-masked]> said:

    Stefan> Package: Emacs
    Stefan> Version: 31.0.50

    Stefan> In the UI of `customize-face`, the font family name is the main one that
    Stefan> provides no help to fill it.
    Stefan> The simple patch below provides completion (I had to put the completion
    Stefan> function in `cus-edit.el` because of a circularity between
    Stefan> `cus-face.el` and `minibuffer.el` so we can't call
    Stefan> `completion-table-dynamic` while loading `cus-face.el`).

    Stefan> Comments/objections?

You have trailing whitespace. Also it would be better if this was
wrapped in `completion-table-case-fold', I think (everyone disagrees
on how to write "mono").

Robert
--