From 536bdb40f3a7700a4d9774196cad099875adbab3 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 4 Feb 2018 21:17:32 +0100 Subject: 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. --- init/custom.el | 1 - init/lisp-setup.el | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'init') 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) -- cgit 1.4.1