From 83203c5e2dc21b523d22c236fd2506180f6fc66b Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Tue, 22 Sep 2020 18:25:58 +0200 Subject: [PATCH] Remove dependency on deprecated cl --- init.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index 785c35d..d6916bc 100644 --- a/init.org +++ b/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)