Subject: bug#43678: 27.1; compiler warning if code forgets to require cl-lib

From: "Roland Winkler" <[email-masked]>
Date: Mon, 28 Sep 2020 21:33:10 +0200

On Mon Sep 28 2020 Stefan Monnier wrote:
> Could you show how you got that error?

I remove the line

  (eval-when-compile (require 'cl-lib))

from bbdb-tex.el, then I run

  $ /path_to_emacs_27.1/emacs --batch --directory=./  --funcall batch-byte-compile bbdb-tex.el

This gives me

In bbdb-tex:
bbdb-tex.el:415:25:Error: Forgot to expand macro cl-progv in (cl-progv ...

I was not the only one with this problem, see

https://lists.nongnu.org/archive/html/bbdb-user/2020-09/msg00000.html