feat(common-lisp): make quicklisp directory configurable
Previously, `+lisp/find-file-in-quicklisp` used a hard-coded directory aimed at a nonstandard Quicklisp install location, `~/.quicklisp`. The default install location is `~/quicklisp`, without the dot. This commit makes the user's Quicklisp directory configurable through the variable `+lisp-quicklisp-paths`. `+lisp/find-file-in-quicklisp` has been updated to respect this variable. Close: #7830 Co-authored-by: bpseudopod <bpseudopod@users.noreply.github.com>
This commit is contained in:
parent
378272bcab
commit
819c20bb69
2 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
;;; lang/common-lisp/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defcustom +lisp-quicklisp-paths '("~/quicklisp" "~/.quicklisp")
|
||||
"A list of directories to search for Quicklisp's site files."
|
||||
:type '(repeat directory))
|
||||
|
||||
;; `lisp-mode' is loaded at startup. In order to lazy load its config we need to
|
||||
;; pretend it isn't loaded
|
||||
(defer-feature! lisp-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue