From: John Kitchin Date: Mon, 26 Jan 2015 22:14:53 +0000 (-0500) Subject: make custom-id links have a message. X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=commitdiff_plain;h=6ca766186d0bfe13398a3c97219e1f66a078865f;ds=inline make custom-id links have a message. --- diff --git a/org-ref.org b/org-ref.org index db0e205..0582874 100644 --- a/org-ref.org +++ b/org-ref.org @@ -3107,6 +3107,12 @@ To get a lighter weight message about the label, ref and cite links, we define a (> count 1)) "s"))))) + ((string= type "custom-id") + (save-excursion + (org-open-link-from-string + (format "[[#%s]]" (org-element-property :path object))) + (message "%s" (org-get-heading)))) + ;; check if the bibliography files exist. ((string= type "bibliography") (let* ((bibfile)