Function: denote-format-buffer-name

denote-format-buffer-name is a natively compiled function defined in denote.el.

Signature

(denote-format-buffer-name STRING &optional SPECIAL)

Documentation

Use STRING to return a Denote buffer name with denote-buffer-name-prefix.

With optional SPECIAL, wrap the name in asterisks, signifying that this is a special buffer.

Source Code

;; Defined in /nix/store/yld6spsps5sfn9w4rjyhkvqlvdgsmvpq-emacs-packages-deps/share/emacs/site-lisp/elpa/denote-4.2.3/denote.el
(defun denote-format-buffer-name (string &optional special)
  "Use STRING to return a Denote buffer name with `denote-buffer-name-prefix'.
With optional SPECIAL, wrap the name in asterisks, signifying that this
is a special buffer."
  (format (if special "*%s%s*" "%s%s") denote-buffer-name-prefix string))