From: John Kitchin Date: Tue, 3 Mar 2015 03:17:36 +0000 (-0500) Subject: cleaning up tag entries X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=commitdiff_plain;h=a2bb6439815acd1994e6e0e9ad21a188892e4d1a;hp=6a424578cb6dc578f4b5a7898637ee3f8d651221 cleaning up tag entries --- 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