Function: denote-find-backlink

denote-find-backlink is an autoloaded, interactive and byte-compiled function defined in denote.el.

Signature

(denote-find-backlink)

Documentation

Use minibuffer completion to visit backlink to current file.

Visit the file itself, not the location where the link is. For a context-sensitive operation, use denote-find-backlink-with-location.

Alo see denote-find-link.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;###autoload
(defun denote-find-backlink ()
  "Use minibuffer completion to visit backlink to current file.
Visit the file itself, not the location where the link is.  For a
context-sensitive operation, use `denote-find-backlink-with-location'.

Alo see `denote-find-link'."
  (declare (interactive-only t))
  (interactive)
  (when-let* ((current-file buffer-file-name)
              (_ (or (denote-retrieve-filename-identifier current-file)
                     (user-error "The current file does not have a Denote identifier")))
              (links (or (denote-get-backlinks current-file)
                         (user-error "No backlinks found")))
              (selected (denote-select-from-files-prompt links "Select among BACKLINKS")))
    (find-file selected)))