Skip to content

Commit

Permalink
combine defhydra+ calls (see issue #1114)
Browse files Browse the repository at this point in the history
It seems like only the last one shows. Maybe this single call will do the right thing in adding them all.
  • Loading branch information
jkitchin committed May 9, 2024
1 parent 5a705df commit e435bc6
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions openalex.el
Original file line number Diff line number Diff line change
Expand Up @@ -668,21 +668,9 @@ With prefix arg ASCENDING sort from low to high."

(defhydra+ org-ref-citation-hydra ()
"Add open from action to `org-ref-citation-hydra'."
("xa" oa-open "Open in OpenAlex" :column "OpenAlex"))


(defhydra+ org-ref-citation-hydra ()
"Add related documents action to `org-ref-citation-hydra'."
("xr" oa-related-works "Related documents" :column "OpenAlex"))


(defhydra+ org-ref-citation-hydra ()
"Add cited by documents action to `org-ref-citation-hydra'."
("xc" oa-cited-by-works "Cited by documents" :column "OpenAlex"))


(defhydra+ org-ref-citation-hydra ()
"Add references from action to `org-ref-citation-hydra'."
("xa" oa-open "Open in OpenAlex" :column "OpenAlex")
("xr" oa-related-works "Related documents" :column "OpenAlex")
("xc" oa-cited-by-works "Cited by documents" :column "OpenAlex")
("xf" oa-referenced-works "References from" :column "OpenAlex"))


Expand Down

0 comments on commit e435bc6

Please sign in to comment.