From 729629fd8b2032dec67be463cbc231397cf3402e Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 14 Jul 2024 13:47:46 -0700 Subject: [PATCH] Try to fix slime-capf --- elisp/slime-capf.el | 11 ----------- init.el | 9 +++++---- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/elisp/slime-capf.el b/elisp/slime-capf.el index 3581816..7f04143 100644 --- a/elisp/slime-capf.el +++ b/elisp/slime-capf.el @@ -36,17 +36,6 @@ (require 'thingatpt) (require 'cape) -(define-slime-contrib slime-capf - "Interaction between slime and Emacs capfs." - (:license "GPL") - (:authors "Ole Arndt " "Alexander Rosenberg ") - (:swank-dependencies swank-arglists) - (:on-load - (advice-add 'slime--completion-at-point :override - 'slime-capf-complete-at-point)) - (:on-unload - (advice-remove 'slime--completion-at-point 'slime-capf-complete-at-point))) - ;;; ---------------------------------------------------------------------------- ;;; * Customization diff --git a/init.el b/init.el index 569f64f..9ba0849 100644 --- a/init.el +++ b/init.el @@ -903,17 +903,18 @@ COMMAND and COMINT are like `compile'." ;; slime (use-package slime + :defer nil :init (setq inferior-lisp-program "sbcl") :config - (slime-setup '(slime-fancy-inspector inferior-slime - slime-references slime-xref-browser - slime-mdot-fu slime-sprof slime-fancy))) + (slime-setup '(slime-fancy-inspector inferior-slime slime-references + slime-xref-browser slime-mdot-fu slime-sprof slime-fancy))) (use-package slime-capf :ensure nil :after slime :config - (add-to-list 'slime-contribs 'slime-capf)) + (advice-add 'slime--completion-at-point :override + 'slime-capf-complete-at-point)) ;; pdf-tools (use-package pdf-tools