summaryrefslogtreecommitdiff
path: root/emacs-init.org
diff options
context:
space:
mode:
authorfpi2020-07-14 11:18:52 +0200
committerfpi2020-07-14 16:47:21 +0200
commitbbe9ac6ad57ee8225f1310af620d6fea8ed1d919 (patch)
treea3fddc696ff5feb11647a5ffc31030ba5bfe2321 /emacs-init.org
parentUpdate variable name (diff)
Fix biblio mode map key binding
Diffstat (limited to 'emacs-init.org')
-rw-r--r--emacs-init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs-init.org b/emacs-init.org
index 1ca6195..fc57fa7 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -3474,7 +3474,9 @@ Here's a function to easily copy a doi from the results of =crossref-lookup=.
(let ((doi (alist-get 'doi (cdr (biblio--selection-metadata-at-point)))))
(kill-new doi)
(message "Copied doi %s" doi)))
-(define-key biblio-selection-mode-map "d" #'fpi/biblio-get-doi)
+(use-package biblio
+ :bind (:map biblio-selection-mode-map
+ ("d" . fpi/biblio-get-doi)))
#+end_src
*** Todo settings
- WAITING tasks are waiting on the completion of other tasks