X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=org-ref.org;h=e4baf37dc61040d3dde844397c8b4d1ae2650e5a;hp=4276b0d48a61bb6e8927aa303c11ec101947f715;hb=7eeb57bb2e9a7f24f881d371cd5c4700b8586087;hpb=cf2980706327292f13813469ff2bce6150c06142 diff --git a/org-ref.org b/org-ref.org index 4276b0d..e4baf37 100644 --- a/org-ref.org +++ b/org-ref.org @@ -2795,6 +2795,7 @@ Now, let us define a function that inserts the cite links: "Insert selected KEYS as cite link. Append KEYS if you are on a link. Technically, this function should return a string that is inserted by helm. This function does the insertion and gives helm an empty string to insert. This lets us handle appending to a link properly." (let* ((object (org-element-context))) + (message-box "prefix is %s" helm-current-prefix-arg) (cond ;; case where we are in a link ((and (equal (org-element-type object) 'link) @@ -2826,8 +2827,8 @@ Technically, this function should return a string that is inserted by helm. This org-ref-default-citation-link) ":" (s-join "," keys)))))) -;; return empty string for helm -"") + ;; return empty string for helm + "") (setq helm-bibtex-format-citation-functions '((org-mode . helm-bibtex-format-org-ref)))