-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indirect through Quicklisp properly by default, plus minor enhancements.
- Loading branch information
Showing
4 changed files
with
105 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
;;;; Version: 0.3 | ||
;;;; | ||
;;;; This file was installed by clhs (trivial ASDF wrapper), like this: | ||
;;;; (clhs:install-clhs-use-local) | ||
;;;; | ||
;;;; Load this file from your ~/.emacs to use local CLHS, like this: | ||
;;;; (load (expand-file-name "~/quicklisp/clhs-use-local.el") t) | ||
|
||
(setq quicklisp-clhs-dist "quicklisp") | ||
|
||
(setq quicklisp-clhs-base | ||
(if load-file-name | ||
(file-name-directory load-file-name) | ||
(expand-file-name "~/quicklisp/"))) | ||
|
||
(defun quicklisp-clhs-file-contents (file) | ||
(with-temp-buffer | ||
(insert-file-contents file) | ||
(buffer-string))) | ||
|
||
(defun quicklisp-clhs-location-file () | ||
(concat quicklisp-clhs-base | ||
"dists/" | ||
quicklisp-clhs-dist | ||
"/installed/systems/clhs.txt")) | ||
|
||
(defun quicklisp-clhs-system-location () | ||
(let ((location-file (quicklisp-clhs-location-file))) | ||
(when (file-exists-p location-file) | ||
(let ((relative (quicklisp-slime-helper-file-contents location-file))) | ||
(file-name-directory (concat quicklisp-clhs-base relative)))))) | ||
|
||
(setq common-lisp-hyperspec-root | ||
(concat "file:" | ||
(quicklisp-clhs-system-location) | ||
"HyperSpec-7-0/HyperSpec/")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters