From e435bc60228b985806ea7ea0856ceef1e5262c83 Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Thu, 9 May 2024 08:11:33 -0400 Subject: [PATCH] combine defhydra+ calls (see issue #1114) It seems like only the last one shows. Maybe this single call will do the right thing in adding them all. --- openalex.el | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/openalex.el b/openalex.el index e73f19b2..783c26f3 100644 --- a/openalex.el +++ b/openalex.el @@ -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"))