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.
|
loaded, along with =package=, which is obviously needed.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(require 'cl)
|
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@ -226,7 +225,8 @@
|
|||||||
(when (memq window-system '(mac ns))
|
(when (memq window-system '(mac ns))
|
||||||
(push 'exec-path-from-shell packages)
|
(push 'exec-path-from-shell packages)
|
||||||
(push 'reveal-in-osx-finder 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
|
(when packages
|
||||||
;; Install uninstalled packages
|
;; Install uninstalled packages
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
|
Loading…
Reference in New Issue
Block a user