]> git.donarmstrong.com Git - org-ref.git/blobdiff - jmax-bibtex.el
add key-chord dependency
[org-ref.git] / jmax-bibtex.el
index 481916716231fddad9e06a8882b3c0cedf988664..67cd11e764f686514281efad36514d152903748d 100644 (file)
@@ -1,7 +1,7 @@
 ;;; jmax-bibtex.el --- jmax-bibtex utilities
 
 ;;; Commentary:
-;; Requires: s.el, dash.el, org-ref.el, doi-utils.el
+;; Requires: s.el, dash.el, org-ref.el, doi-utils.el, key-chord.el
 
 ;;; Code:
 
@@ -423,6 +423,7 @@ N is a prefix argument.  If it is numeric, jump that many entries back."
 
 
 ;; hydra menu for actions on bibtex entries
+(require 'key-chord)
 (key-chord-define-global
  "jj"
  (defhydra jmax-bibtex-hydra (:color blue)
@@ -468,8 +469,8 @@ _U_: Update entry _N_: Open notes             _R_: Crossref      _g_: Google Sch
    ("e" email-bibtex-entry)
    ("U" (doi-utils-update-bibtex-entry-from-doi (jmax-bibtex-entry-doi)))))
 
-;; A hydra for adding new bibtex entries.
 
+;; A hydra for adding new bibtex entries.
 (defhydra jmax-bibtex-new-entry (:color blue)
   "New Bibtex entry:"
   ("a" bibtex-Article "Article")
@@ -487,9 +488,6 @@ _U_: Update entry _N_: Open notes             _R_: Crossref      _g_: Google Sch
   ("c" bibtex-InCollection "Article in collection"))
 
 
-
-
-
 (defvar jmax-bibtex-menu-funcs '()
  "Functions to run in doi menu. Each entry is a list of (key menu-name function).
 The function must take one argument, the doi.")