From a2bb6439815acd1994e6e0e9ad21a188892e4d1a Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Mon, 2 Mar 2015 22:17:36 -0500 Subject: [PATCH] cleaning up tag entries --- org-ref.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/org-ref.org b/org-ref.org index e59f91d..51671bd 100644 --- a/org-ref.org +++ b/org-ref.org @@ -3425,8 +3425,9 @@ Next, we are going to add keywords to the helm interface. 1. Make the default action to insert selected keys. 2. Make open entry second action #+BEGIN_SRC emacs-lisp :tangle org-ref.el -(defun org-ref-tag-entries (candidates) - "Set tags on selected entries." +(defun org-ref-helm-tag-entries (candidates) + "Set tags on selected bibtex entries from helm. +User is prompted for tags." (let ((keywords (read-input "Keywords (comma separated): "))) (loop for key in (helm-marked-candidates) do @@ -3453,7 +3454,7 @@ Next, we are going to add keywords to the helm interface. ("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Attach PDF to email" . helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) - ("Tag entries" . org-ref-tag-entries) + ("Add keywords to entries" . org-ref-helm-tag-entries) )))) #+END_SRC -- 2.39.2