summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorJakob L. Kreuze2022-10-23 19:40:14 -0400
committerJakob L. Kreuze2022-10-23 19:42:47 -0400
commitbc30e1601762647d7b068302242b77db59ac1b9b (patch)
treecf6630c20be8f511fd5d6dce33da03c03b95f04c /init.el
parent37e58f69a5202bb82ff795ac3fa65c8e1a3cf9d8 (diff)
More cleanup/linting
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 1 insertions, 14 deletions
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")

© 2015 - 2026 Jakob L. Kreuze