From 1efe6886049b0143e55ccb77dc7d59966e9dd081 Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 28 Oct 2024 20:10:16 -0400 Subject: Configure built-in with use-package --- .config/emacs/modules/bd--dictionary.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.config/emacs/modules/bd--dictionary.el') diff --git a/.config/emacs/modules/bd--dictionary.el b/.config/emacs/modules/bd--dictionary.el index c46fe7b..79dd2d1 100644 --- a/.config/emacs/modules/bd--dictionary.el +++ b/.config/emacs/modules/bd--dictionary.el @@ -3,9 +3,12 @@ ;;; Code: -(keymap-global-set "C-c i" 'dictionary-lookup-definition) -(setopt dictionary-server "localhost" - dictionary-use-single-buffer t) +(use-package dictionary + :defer t + :bind (("C-c i" . dictionary-lookup-definition)) + :custom + (dictionary-server "localhost") + (dictionary-use-single-buffer t)) (provide 'bd--dictionary) -- cgit v1.2.3