From 3da7b0c62393d4933501958fb4d62e8bac9f79e8 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Fri, 12 Jul 2024 22:40:56 -0700 Subject: [PATCH] Try to fix sly --- disabled.el | 1 - init.el | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/disabled.el b/disabled.el index 2dcbb58..d90f5cb 100644 --- a/disabled.el +++ b/disabled.el @@ -93,7 +93,6 @@ ;; (switch-to-buffer vterm-buff) ;; (puthash nil (vterm vterm-buffer-name) my/project-vterm-hash-table))))) - ;; ai stuff (also mostly fun) ;; (use-package ellama ;; :defer nil diff --git a/init.el b/init.el index a0d25b4..0a4d3d4 100644 --- a/init.el +++ b/init.el @@ -903,13 +903,15 @@ COMMAND and COMINT are like `compile'." ;; sly (use-package sly - :hook (lisp-mode . my/common-lisp-autoconnect-sly) + :hook (lisp-mode . my/-lisp-mode-autoconnect-sly) :autoload sly-connected-p :init - (defun my/common-lisp-autoconnect-sly () + (defun my/-lisp-mode-autoconnect-sly () (unless (sly-connected-p) - (save-excursion (sly)))) - (setq inferior-lisp-program "/usr/bin/sbcl")) + (sly))) + (setq inferior-lisp-program "/usr/bin/sbcl") + :config + (sly-symbol-completion-mode -1)) ;; pdf-tools (use-package pdf-tools