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 'thingatpt)
(require 'cape) (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 ;;; * Customization

View File

@ -903,17 +903,18 @@ COMMAND and COMINT are like `compile'."
;; slime ;; slime
(use-package slime (use-package slime
:defer nil
:init :init
(setq inferior-lisp-program "sbcl") (setq inferior-lisp-program "sbcl")
:config :config
(slime-setup '(slime-fancy-inspector inferior-slime (slime-setup '(slime-fancy-inspector inferior-slime slime-references
slime-references slime-xref-browser slime-xref-browser slime-mdot-fu slime-sprof slime-fancy)))
slime-mdot-fu slime-sprof slime-fancy)))
(use-package slime-capf (use-package slime-capf
:ensure nil :ensure nil
:after slime :after slime
:config :config
(add-to-list 'slime-contribs 'slime-capf)) (advice-add 'slime--completion-at-point :override
'slime-capf-complete-at-point))
;; pdf-tools ;; pdf-tools
(use-package pdf-tools (use-package pdf-tools