Variable: denote-query-format-heading-function

denote-query-format-heading-function is a customizable variable defined in denote.el.

Value

denote-get-file-name-relative-to-denote-directory

Documentation

Function used to construct headings for files matched by a query.

It is called with a single argument, the path to the note file, and it should always return a string.

This is used in the buffer that shows backlinks, query links for file contents, or the results of denote-grep.

This variable was added, or its default value changed, in denote version 4.2.0.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defcustom denote-query-format-heading-function #'denote-get-file-name-relative-to-denote-directory
  "Function used to construct headings for files matched by a query.

It is called with a single argument, the path to the note file, and it
should always return a string.

This is used in the buffer that shows backlinks, query links for file
contents, or the results of `denote-grep'."
  :package-version '(denote . "4.2.0")
  :link '(info-link "(denote) Use denote-grep to search inside files")
  :group 'denote-query
  :type 'function)