Subject: bug#30635: No compiler warning if code forgets to require cl-lib

From: Glenn Morris <[email-masked]>
Date: Mon, 19 Mar 2018 16:12:28 -0400

Stefan Monnier wrote:

>> There's no compiler warning if a library uses cl-lib without requiring it.
>> I assume this is because bytecomp.el requires cl-lib.
>
> Should we apply the patch below?

Works for me, thanks.

It reveals a problem in isearch.el since 6bc78d5:

emacs -Q --eval "(setq search-exit-option 'append)"
C-s
 -> Error in pre-command-hook (isearch-pre-command-hook): (void-function cl-every)