GNU bug report logs - #30635
No compiler warning if code forgets to require cl-lib

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 27 Feb 2018 18:47:02 UTC

Severity: normal

Found in version 26.0.91

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 30635 <at> debbugs.gnu.org
Subject: bug#30635: No compiler warning if code forgets to require cl-lib
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)




This bug report was last modified 7 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.