From 548072ba7ee3f0efab8bfac1a4b402e4f431db69 Mon Sep 17 00:00:00 2001 From: dx Date: Sat, 2 May 2020 07:14:20 +0100 Subject: ~cl -> cl-lib along with functions cl-* This was why I was getting the error, by using cl-* name spacing, I remove the errors Emacs kept giving me. --- Doom/.doom.d/modules/private/gentemplate/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Doom') diff --git a/Doom/.doom.d/modules/private/gentemplate/config.el b/Doom/.doom.d/modules/private/gentemplate/config.el index 20ab4ca..d843cc2 100644 --- a/Doom/.doom.d/modules/private/gentemplate/config.el +++ b/Doom/.doom.d/modules/private/gentemplate/config.el @@ -1,6 +1,6 @@ ;;; private/gentemplate/config.el -*- lexical-binding: t; -*- -(require 'cl) +(require 'cl-lib) (defvar +gentemplate/profile-url "https://github.com/oreodave/" @@ -11,7 +11,7 @@ "List of templates to use, relative to the profile-url") (defun +gentemplate/offline () - (eq (list-length (network-interface-list)) 1)) + (eq (cl-list-length (network-interface-list)) 1)) (defun +gentemplate/copy-template (template-name dest) "Copy a template project via it's `template-name' to a folder called `dest'" -- cgit v1.2.3-13-gbd6f