switch alternative cite selection to helm
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Sun, 25 Jan 2015 18:30:52 +0000 (13:30 -0500)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Sun, 25 Jan 2015 18:30:52 +0000 (13:30 -0500)
org-ref.org

index 9086316..7f13af0 100644 (file)
@@ -2822,6 +2822,9 @@ Technically, this function should return a string that is inserted by helm. This
      (t
       (insert
        (concat (if helm-current-prefix-arg
+                  (helm :sources `((name . "link types")
+                                   (candidates . ,org-ref-cite-types)
+                                   (action . (lambda (x) x))))
                   (ido-completing-read "Type: " org-ref-cite-types)
                org-ref-default-citation-link)
               ":"