In Emacs, what does this error mean? “Warning: cl package required at runtime”

前端 未结 5 597
余生分开走
余生分开走 2021-01-31 02:30

I am byte-compiling a module. It gives me this warning:

 Warning: cl package required at runtime

Why is this a warning? I am well aware that I

5条回答
  •  甜味超标
    2021-01-31 03:03

    Common Lisp has lots of namespace clashes with elisp, often the functions seem to do the same thing, but differ in some subtle detail. Mixing the two is a risk that is best not done behind the user's back. For this reason, most of the more useful functions in cl.el are defined as macros, so that cl.el can be required at compile time only, and the macros will then only affect the code that uses them in future sessions of Emacs.

提交回复
热议问题