Subject: [PATCH] Allow preprocessing of previews
From: Paul Nelson <[email-masked]>
To: [email-masked]
Date: Tue, 9 Apr 2024 05:18:54 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

The attached patch introduces an optional preprocessing step to preview-region.

As motivation, I've been using such functionality (implemented via
advice) in https://github.com/ultronozm/czm-preview.el to give correct
equation numbers in previews.  This patch would allow me to excise the
advice.

Thanks, best,

Paul