Skip to main content
Use more idiomatic layout
Source Link
Stefan
  • 26.7k
  • 3
  • 52
  • 88

I ended up simply using:

(defun what-links-here ()
  (interactive)
  (let ((id (org-entry-get nil "ID")))
    (if (> (length id) 0)
        (org-search-view nil (concat "id:" id))
      (message "No ID - nothing can be linking here")
    )
  )
 )

I ended up simply using:

(defun what-links-here ()
  (interactive)
  (let ((id (org-entry-get nil "ID")))
    (if (> (length id) 0)
      (org-search-view nil (concat "id:" id))
      (message "No ID - nothing can be linking here")
    )
  )
 )

I ended up simply using:

(defun what-links-here ()
  (interactive)
  (let ((id (org-entry-get nil "ID")))
    (if (> (length id) 0)
        (org-search-view nil (concat "id:" id))
      (message "No ID - nothing can be linking here"))))
Source Link
ooi
  • 283
  • 1
  • 7

I ended up simply using:

(defun what-links-here ()
  (interactive)
  (let ((id (org-entry-get nil "ID")))
    (if (> (length id) 0)
      (org-search-view nil (concat "id:" id))
      (message "No ID - nothing can be linking here")
    )
  )
)