Variable: denote-rename-buffer-function
denote-rename-buffer-function is a customizable variable defined in
denote.el.
Value
denote-rename-buffer
Documentation
Symbol of function that is called to rename the Denote file buffer.
The default denote-rename-buffer function uses the pattern
described in denote-rename-buffer-format.
Users can set this variable to an arbitrary function that does
something else. The function is called without arguments from
the find-file-hook and denote-after-new-note-hook.
A nil value for this variable means that the title of the Denote buffer will be used, if available.
This variable was added, or its default value changed, in denote version 2.1.0.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defcustom denote-rename-buffer-function #'denote-rename-buffer
"Symbol of function that is called to rename the Denote file buffer.
The default `denote-rename-buffer' function uses the pattern
described in `denote-rename-buffer-format'.
Users can set this variable to an arbitrary function that does
something else. The function is called without arguments from
the `find-file-hook' and `denote-after-new-note-hook'.
A nil value for this variable means that the title of the Denote
buffer will be used, if available."
:type '(choice
(const :tag "Rename using the `denote-rename-buffer-format'" denote-rename-buffer)
(function :tag "Use a custom renaming function"))
:package-version '(denote . "2.1.0")
:group 'denote-rename-buffer)