From 6ca766186d0bfe13398a3c97219e1f66a078865f Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Mon, 26 Jan 2015 17:14:53 -0500 Subject: [PATCH] make custom-id links have a message. --- org-ref.org | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- 2.39.2