summary refs log tree commit diff
path: root/config.org
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-08-14 09:51:14 +0000
committernoa@gaiwan.org2024-08-14 09:51:14 +0000
commit1f7bb554768358e461a45b926d46ac52ac6e7b4e (patch)
tree4d79676b1ae7ba34f8e6596ce2221f5aec5d1628 /config.org
parent3fbb006a739285fe9f261c9fde08b1e86d3586a0 (diff)
Remove warning from improperly adding keybinding
Diffstat (limited to 'config.org')
-rw-r--r--config.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.org b/config.org
index 907336e..57fa650 100644
--- a/config.org
+++ b/config.org
@@ -1870,8 +1870,9 @@ The biblio package allows us to import references from online sources.
 #+begin_src elisp
   (package-ensure 'biblio)
   (require 'ebib-biblio)
-  (define-key ebib-index-mode-map (kbd "B") #'ebib-biblio-import-doi)
-  (define-key biblio-selection-mode-map (kbd "e") #'ebib-biblio-selection-import)
+  (with-eval-after-load 'ebib
+    (define-key ebib-index-mode-map (kbd "B") #'ebib-biblio-import-doi)
+    (define-key biblio-selection-mode-map (kbd "e") #'ebib-biblio-selection-import))
 #+end_src
 
 #+begin_src elisp