summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--dictionary.el
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-10-28 20:10:16 -0400
committerbd <bdunahu@operationnull.com>2024-10-28 20:10:16 -0400
commit1efe6886049b0143e55ccb77dc7d59966e9dd081 (patch)
tree3296af39b61b50405058a1248e355318c616b2b2 /.config/emacs/modules/bd--dictionary.el
parent05791ee8b63f37513fb1eaf1dcef77de5227994d (diff)
Configure built-in with use-package
Diffstat (limited to '.config/emacs/modules/bd--dictionary.el')
-rw-r--r--.config/emacs/modules/bd--dictionary.el9
1 files changed, 6 insertions, 3 deletions
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)