summary refs log tree commit diff
diff options
context:
space:
mode:
-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