Update Emacs Lisp code to use cl-lib instead of cl
cl is a deprecated library, and elisp authors should use
instead. In most cases, this is a matter of requiring "cl-lib" and
adding a "cl-" prefix to symbols that came from "cl".
This library provides an interactive command,
replaces usages of "cl" symbols with their "cl-lib" equivalent,
optionally prompting for each
Note that some cl functions do not have exact replacements,
flet, so further code changes might still be necessary.
cl-libify.el is in a directory on your load-path, and
add the following to your
If you're an Emacs 24 user or you have a recent version of
package.el you can install
cl-libify from the
MELPA repository. The version of
cl-libify there will always be up-to-date.
See the command
Author: Steve Purcell
This little library was extracted from the author's full Emacs configuration, which readers might find of interest.