Subject: Re: bug#67138: [PATCH] ; Fix 'add-face-text-property' shortdoc
From: Eli Zaretskii <[email-masked]>
To: Eshel Yaron <[email-masked]>
Cc: [email-masked]
Date: Tue, 14 Nov 2023 16:11:56 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Sun, 12 Nov 2023 21:49:24 +0100
> From:  Eshel Yaron via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> This fixes an omission in shortdoc.el that causes the following to emit
> an error instead of showing the *Help* buffer:
> 
> 1. emacs -Q
> 2. (add-hook 'help-fns-describe-function-functions
>              #'shortdoc-help-fns-examples-function)
> 3. C-h f add-face-text-property RET
> 4. Emacs says "Wrong type argument: prop-match, nil"

It also shows the example if one just does "C-h f" without any hooks.

Thanks, installed on the emacs-29 branch, and closing the bug.