Function: denote-backlinks

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

Signature

(denote-backlinks)

Documentation

Produce a buffer with backlinks to the current note.

Show the names of files linking to the current file.

Place the buffer below the current window or wherever the user option denote-backlinks-display-buffer-action specifies.

Key Bindings

Aliases

denote-show-backlinks-buffer

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;###autoload
(defun denote-backlinks ()
  "Produce a buffer with backlinks to the current note.

Show the names of files linking to the current file.

Place the buffer below the current window or wherever the user option
`denote-backlinks-display-buffer-action' specifies."
  (interactive)
  (if-let* ((file buffer-file-name))
      (if-let* ((identifier (denote-retrieve-filename-identifier file)))
          (denote-make-backlinks-buffer
           identifier
           (denote--backlinks-get-buffer-name file identifier)
           denote-backlinks-display-buffer-action)
        (user-error "The current file does not have a Denote identifier"))
    (user-error "Buffer `%s' is not associated with a file" (current-buffer))))