From bc30e1601762647d7b068302242b77db59ac1b9b Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sun, 23 Oct 2022 19:40:14 -0400 Subject: More cleanup/linting --- init.el | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index d228c1d..d6ab891 100644 --- a/init.el +++ b/init.el @@ -132,7 +132,7 @@ ;; A handful of the Elisp snippets in this file depend on third-party libraries ;; which aren't loaded by default. -;;; TODO +(require 'cl-lib) @@ -169,19 +169,6 @@ `(progn ,@form) '(progn))) -(require 'cl-lib) - -(defmacro choose-for-machine (&rest clauses) - "Return the `cadr' of the CLAUSE whose `car' is `(system-name)'." - (let* ((name-clause (cl-find-if #'(lambda (x) - (string= (system-name) (car x))) - clauses)) - (last-clause (cl-find-if #'(lambda (x) (eq 't (car x))) - clauses))) - (cond (name-clause (cadr name-clause)) - (last-clause (cadr last-clause)) - (t 'nil)))) - (load-module "core") (load-module "jakob") (load-module "quality-of-life") -- cgit v1.3