Replace cl to cl-lib
On emacs 27.1 cl is oficially deprecated and receives a message warning in the startup as: Package cl is deprecated Using cl-lib, which prefix all the Common Lisp functions with `cl-` solves the problem.
This commit is contained in:
parent
f73e28a9ea
commit
b9f14023b3
2 changed files with 5 additions and 5 deletions
modules
|
@ -35,7 +35,7 @@
|
|||
(prelude-require-packages '(auctex cdlatex))
|
||||
(require 'smartparens-latex)
|
||||
;; for case
|
||||
(require 'cl)
|
||||
(require 'cl-lib)
|
||||
|
||||
(with-eval-after-load "company"
|
||||
(prelude-require-packages '(company-auctex))
|
||||
|
@ -78,7 +78,7 @@
|
|||
(turn-on-auto-fill)
|
||||
(abbrev-mode +1)
|
||||
(smartparens-mode +1)
|
||||
(case prelude-latex-fast-math-entry
|
||||
(cl-case prelude-latex-fast-math-entry
|
||||
(LaTeX-math-mode (LaTeX-math-mode 1))
|
||||
(cdlatex (turn-on-cdlatex))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue