Fix docstring of denote-query-extract-title

Docstring says function returns denote-grep-untitled-string, but it
actually returns denote-query-untitled-string. This commit corrects
the name of the variable in the docstring.
This commit is contained in:
Matthew Batson 2026-01-17 14:56:52 +11:00
parent 07dcaeebb9
commit a31969fea2

View file

@ -5758,7 +5758,7 @@ Used only by `denote-query-extract-title'."
When no title is found, return title found in FILE name.
When that doesn't work, return `denote-grep-untitled-string'.
When that doesn't work, return `denote-query-untitled-string'.
Intended to be used as `denote-query-format-heading-function'."
(if-let* ((type (denote-filetype-heuristics file))