jwiegley / emacs-async

Simple library for asynchronous processing in Emacs
GNU General Public License v3.0
837 stars 68 forks source link

Replace deprecated cl require with cl-lib #124

Closed Emantor closed 4 years ago

Emantor commented 4 years ago

(require 'cl) emits: Package cl is deprecated on emacs start, replace it with cl-lib.

Emantor commented 4 years ago

Hm, how do you run the tests? Looking further into it, nothing inside the tests seems to require cl. Is that correct?

basil-conto commented 4 years ago

Yes, nothing in the file currently depends on either cl or cl-lib, so I suggest you remove this call to require.

I would also suggest enabling lexical-binding in the test file.