Variable: cider-scratch-initial-message

cider-scratch-initial-message is a customizable variable defined in cider-scratch.el.

Value

";; This buffer is for Clojure experiments and evaluation.\n;; It is attached to a specific CIDER session, so evaluations always\n;; target a known REPL.\n;;\n;; Press C-j to evaluate the expression before point and print its value;\n;; C-u C-j pretty-prints the result instead.\n;;\n;; Evaluations dispatch like a .cljc file by default.  Use the Clojure\n;; Interaction menu, or C-c C-M-d (`cider-cycle-eval-destination'), to send\n;; them to the Clojure, ClojureScript or both REPLs of the session.\n\n"

Documentation

The initial message displayed in new scratch buffers.

This variable was added, or its default value changed, in cider version 0.18.0.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-scratch.el
(defcustom cider-scratch-initial-message
  ";; This buffer is for Clojure experiments and evaluation.
;; It is attached to a specific CIDER session, so evaluations always
;; target a known REPL.
;;
;; Press C-j to evaluate the expression before point and print its value;
;; C-u C-j pretty-prints the result instead.
;;
;; Evaluations dispatch like a .cljc file by default.  Use the Clojure
;; Interaction menu, or C-c C-M-d (`cider-cycle-eval-destination'), to send
;; them to the Clojure, ClojureScript or both REPLs of the session.\n\n"
  "The initial message displayed in new scratch buffers."
  :type 'string
  :group 'cider
  :package-version '(cider . "0.18.0"))