mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Remove dependency on deprecated cl
This commit is contained in:
parent
f102b96554
commit
83203c5e2d
4
init.org
4
init.org
@ -158,7 +158,6 @@
|
||||
loaded, along with =package=, which is obviously needed.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(require 'cl)
|
||||
(require 'package)
|
||||
(package-initialize)
|
||||
#+END_SRC
|
||||
@ -226,7 +225,8 @@
|
||||
(when (memq window-system '(mac ns))
|
||||
(push 'exec-path-from-shell packages)
|
||||
(push 'reveal-in-osx-finder packages))
|
||||
(let ((packages (remove-if 'package-installed-p packages)))
|
||||
(let ((packages (seq-remove 'package-installed-p packages)))
|
||||
(print packages)
|
||||
(when packages
|
||||
;; Install uninstalled packages
|
||||
(package-refresh-contents)
|
||||
|
Loading…
Reference in New Issue
Block a user