File tree 3 files changed +7
-21
lines changed
3 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 6
6
(normal-mode ))))
7
7
8
8
(after-load 'slime
9
- (add-to-list 'slime-lisp-implementations
10
- '(sbcl (" sbcl" ) :coding-system utf-8-unix))
11
- (add-to-list 'slime-lisp-implementations
12
- '(cmucl (" lisp" ) :coding-system iso-latin-1-unix)))
9
+ (when (executable-find " sbcl" )
10
+ (add-to-list 'slime-lisp-implementations
11
+ '(sbcl (" sbcl" ) :coding-system utf-8-unix)))
12
+ (when (executable-find " lisp" )
13
+ (add-to-list 'slime-lisp-implementations
14
+ '(cmucl (" lisp" ) :coding-system iso-latin-1-unix))))
13
15
14
16
; ; From http://bc.tech.coop/blog/070515.html
15
17
(defun lispdoc ()
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ ARCHIVE is the string name of the package archive.")
54
54
(setq package-filter-function
55
55
(lambda (package version archive )
56
56
(or (not (string-equal archive " melpa" ))
57
- (not (memq package '(slime ))))))
57
+ (not (memq package '())))))
58
58
59
59
60
60
Original file line number Diff line number Diff line change 1
1
(require-package 'slime )
2
2
3
- ; ; There are 2 versions of Slime available as packages. The 2010* version
4
- ; ; is for Clojure compatibility, and uses separate packages for slime-fuzzy
5
- ; ; and slime-repl. The other version is the latest available, which
6
- ; ; contains a complete "contrib" dir.
7
- (let ((slime-contrib-dir (concat (directory-of-library " slime" ) " /contrib" )))
8
- (if (file-directory-p slime-contrib-dir)
9
- ; ; Ensure contrib dir is ahead of any slime-{fuzzy,repl} package
10
- (add-to-list 'load-path slime-contrib-dir)
11
- (require-package 'slime-fuzzy )
12
- (require-package 'slime-repl )))
13
-
14
3
(require-package 'ac-slime )
15
4
(require-package 'hippie-expand-slime )
16
5
17
-
18
- (autoload 'slime-fuzzy-init " slime-fuzzy" " " nil )
19
- (after-load 'slime-fuzzy
20
- (require 'slime-repl ))
21
-
22
6
(defun sanityinc/set-up-slime-repl-auto-complete ()
23
7
" Bind TAB to `indent-for-tab-command' , as in regular Slime buffers."
24
8
(local-set-key (kbd " TAB" ) 'indent-for-tab-command ))
You can’t perform that action at this time.
0 commit comments