Try to fix slime-capf

This commit is contained in:
Alexander Rosenberg 2024-07-14 13:47:46 -07:00
parent 96f9da374d
commit 729629fd8b
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
2 changed files with 5 additions and 15 deletions

View File

@ -36,17 +36,6 @@
(require 'thingatpt)
(require 'cape)
(define-slime-contrib slime-capf
"Interaction between slime and Emacs capfs."
(:license "GPL")
(:authors "Ole Arndt <anwyn@sugarshark.com>" "Alexander Rosenberg <zanderpkg@pm.me>")
(: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

View File

@ -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