Function: denote-format-buffer-name

denote-format-buffer-name is a byte-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 ~/.emacs.d/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))