Function: denote--backlinks-get-buffer-name

denote--backlinks-get-buffer-name is a byte-compiled function defined in denote.el.

Signature

(denote--backlinks-get-buffer-name FILE ID)

Documentation

Format a buffer name for denote-backlinks.

Use FILE to detect a suitable title with which to name the buffer. Else use the ID.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;;;; Backlinks

(defun denote--backlinks-get-buffer-name (file id)
  "Format a buffer name for `denote-backlinks'.
Use FILE to detect a suitable title with which to name the buffer.  Else
use the ID."
  (denote-format-buffer-name
   (if-let* ((type (denote-filetype-heuristics file))
             (title (denote-retrieve-front-matter-title-value file type)))
       (format "FILE backlinks for %S" title)
     (format "FILE backlinks for %s" id))
   :special-buffer))