Lisp: Note how Helm can complete with Emacs 27.

master
Pierre Neidhardt 2020-02-13 08:31:54 +01:00
parent f1c0986656
commit 69e8356f2c
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@
(setq sly-command-switch-to-existing-lisp 'always)
(add-hook 'sly-mrepl-hook #'ambrevar/init-lispy)
(add-hook 'sly-mrepl-hook #'rainbow-delimiters-mode)
;; REVIEW: With Emacs 27 we can:
;; (customize-set-variable 'helm-completion-style 'emacs)
;; (add-to-list 'completion-styles 'backend)
;; See https://github.com/emacs-helm/helm-sly/issues/2.
(when (require 'helm-sly nil 'noerror)
(add-hook 'sly-mrepl-hook #'helm-sly-disable-internal-completion)))