Try to fix slime-capf
This commit is contained in:
parent
96f9da374d
commit
729629fd8b
@ -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
|
||||
|
||||
|
9
init.el
9
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
|
||||
|
Loading…
Reference in New Issue
Block a user