diff options
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/.config/emacs/arkta/arkta-progmodes.el | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/emacs/.config/emacs/arkta/arkta-progmodes.el b/emacs/.config/emacs/arkta/arkta-progmodes.el index f1da41e..0e88145 100644 --- a/emacs/.config/emacs/arkta/arkta-progmodes.el +++ b/emacs/.config/emacs/arkta/arkta-progmodes.el | |||
| @@ -252,8 +252,23 @@ | |||
| 252 | :ensure t | 252 | :ensure t |
| 253 | :after lisp-mode | 253 | :after lisp-mode |
| 254 | :commands slime | 254 | :commands slime |
| 255 | :init | ||
| 256 | (defun find-inferior-lisp () | ||
| 257 | (let ((ros (executable-find "ros"))) | ||
| 258 | (if ros | ||
| 259 | (concat ros " run") | ||
| 260 | (executable-find "sbcl")))) | ||
| 255 | :custom | 261 | :custom |
| 256 | (inferior-lisp-program (executable-find "sbcl"))) | 262 | (inferior-lisp-program (find-inferior-lisp)) |
| 263 | :config | ||
| 264 | (when (cond ((file-exists-p "~/quicklisp/log4slime-setup.el") | ||
| 265 | (load "~/quicklisp/log4slime-setup.el") | ||
| 266 | t) | ||
| 267 | ((file-exists-p "~/.roswell/lisp/quicklisp/log4slime-setup.el") | ||
| 268 | (load "~/.roswell/lisp/quicklisp/log4slime-setup.el") | ||
| 269 | t) | ||
| 270 | (t nil)) | ||
| 271 | (global-log4slime-mode 1))) | ||
| 257 | 272 | ||
| 258 | (use-package smalltalk-mode | 273 | (use-package smalltalk-mode |
| 259 | :ensure t | 274 | :ensure t |