Created
December 22, 2009 18:30
-
-
Save hchbaw/261923 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
;; Clojure 用に slime-cursor-marker を設定しちゃいます、同時に、 | |
;; CL 用 (sbcl) に swank::+cursor-marker+ を上書きしちゃいます。 | |
(setq slime-lisp-implementations | |
`((sbcl ("sbcl") :init-function my-swank-cl-init) | |
(clojure ,(swank-clojure-cmd) :init swank-clojure-init))) | |
(eval-after-load 'slime-autodoc | |
'(progn | |
(setq slime-cursor-marker :swank/+cursor+))) | |
(eval-after-load 'slime | |
'(progn | |
(defun my-swank-cl-init () | |
;; たまに上書きされちゃう >_< | |
(slime-eval-async | |
`(swank:interactive-eval | |
,(format "(defparameter +cursor-marker+ %s)" slime-cursor-marker)) | |
'identity | |
"SWANK")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment