Function: nrepl-make-buffer-name

nrepl-make-buffer-name is a byte-compiled function defined in nrepl-client.el.

Signature

(nrepl-make-buffer-name TEMPLATE PARAMS &optional DUP-OK)

Documentation

Generate a buffer name using TEMPLATE and PARAMS.

TEMPLATE and PARAMS are as in cider-format-connection-params. If optional DUP-OK is non-nil, the returned buffer is not "uniquified" by a call to generate-new-buffer-name.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/nrepl-client.el
(defun nrepl-make-buffer-name (template params &optional dup-ok)
  "Generate a buffer name using TEMPLATE and PARAMS.
TEMPLATE and PARAMS are as in `cider-format-connection-params'.  If
optional DUP-OK is non-nil, the returned buffer is not \"uniquified\" by a
call to `generate-new-buffer-name'."
  (let ((name (cider-format-connection-params template params)))
    (if dup-ok
        name
      (generate-new-buffer-name name))))