about summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-02-04T20·17+0100
committerVincent Ambo <tazjin@gmail.com>2018-02-04T20·17+0100
commit536bdb40f3a7700a4d9774196cad099875adbab3 (patch)
treef80de542f1a11f8420be00853f3c209fdd98700d /init
parent11eed83d5762c148b3a22402eb99a3bd800509d1 (diff)
fix(lisp): Don't set any Sly-mrepl hook settings
For some reason the Sly-mrepl hooks aren't available until a REPL has
actually been launched once. There doesn't seem to be a library that I
can require to fix it, either, so until I have time to figure it out
it stays commented out.
Diffstat (limited to 'init')
-rw-r--r--init/custom.el1
-rw-r--r--init/lisp-setup.el7
2 files changed, 2 insertions, 6 deletions
diff --git a/init/custom.el b/init/custom.el
index 28618b5322c7..d91afb668c9c 100644
--- a/init/custom.el
+++ b/init/custom.el
@@ -14,7 +14,6 @@
  '(elnode-send-file-program "/run/current-system/sw/bin/cat")
  '(frame-brackground-mode (quote dark))
  '(global-auto-complete-mode t)
- '(helm-split-window-in-side-p t)
  '(helm-split-window-inside-p t)
  '(kubernetes-commands-display-buffer-function (quote display-buffer))
  '(magit-log-show-gpg-status t)
diff --git a/init/lisp-setup.el b/init/lisp-setup.el
index 62bb1122ad45..7cab95a22083 100644
--- a/init/lisp-setup.el
+++ b/init/lisp-setup.el
@@ -1,6 +1,8 @@
 ;; lisp-settings.el - settings for various Lisp dialects
 ;; -*- lexical-binding: t; -*-
 
+(require 'sly)
+
 ;; All the lisps:
 
 (add-to-list 'lisp-mode-hook #'company-mode)
@@ -14,10 +16,5 @@
 (setq inferior-lisp-program (concat (nix-store-path "sbcl") "/bin/sbcl"))
 
 (add-to-list 'company-backends 'sly-company)
-(add-to-list 'sly-mrepl-mode-hook #'paredit-mode)
-(add-to-list 'sly-mrepl-mode-hook #'company-mode)
-
-(define-key sly-mrepl-mode-map (kbd "TAB")
-  #'company-indent-or-complete-common)
 
 (provide 'lisp-setup)