From f2c432d6560bb90e728b380062b174b775a07081 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 9 Sep 2024 15:33:55 +0200 Subject: emacs: Make use of (λ …) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.config/emacs/init.el') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index b805c58..6823f86 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -503,8 +503,7 @@ existing grammars." (eglot-events-buffer 0) (eglot-extend-to-xref t) :config - (setq eglot-managed-mode-hook - (list (λ (eglot-inlay-hints-mode -1)))) + (add-hook 'eglot-managed-mode-hook (λ (eglot-inlay-hints-mode -1))) (dolist (feature '(eldoc flymake)) (add-to-list 'eglot-stay-out-of feature)) (with-eval-after-load 'eglot -- cgit v1.2.3