Liking cljdoc? Tell your friends :D

hive-emacs.config

Typed config for hive-emacs via hive-di defconfig.

Replaces ad-hoc (System/getenv ...) reads scattered across client.clj, daemon-store.clj, and daemon-selection.clj with a single declarative config surface.

Env vars: EMACSCLIENT — path to emacsclient binary (default "emacsclient") EMACS_SOCKET_NAME — daemon socket name (optional; nil = default daemon)

Generated by defconfig: EmacsConfig — ADT EmacsConfig-fields — field registry EmacsConfig-schema — Malli schema resolve-EmacsConfig — resolver fn (0/1/2 arity, returns Result)

Typed config for hive-emacs via hive-di defconfig.

Replaces ad-hoc (System/getenv ...) reads scattered across client.clj,
daemon-store.clj, and daemon-selection.clj with a single declarative
config surface.

Env vars:
  EMACSCLIENT       — path to emacsclient binary (default "emacsclient")
  EMACS_SOCKET_NAME — daemon socket name (optional; nil = default daemon)

Generated by defconfig:
  EmacsConfig          — ADT
  EmacsConfig-fields   — field registry
  EmacsConfig-schema   — Malli schema
  resolve-EmacsConfig  — resolver fn (0/1/2 arity, returns Result)
raw docstring

->emacs-configclj

(->emacs-config kw__1992__auto__)

Coerce a keyword to a EmacsConfig variant (no data fields). Returns nil if keyword is not a valid variant.

Coerce a keyword to a EmacsConfig variant (no data fields).
Returns nil if keyword is not a valid variant.
sourceraw docstring

default-daemon-idclj

(default-daemon-id)

Daemon ID for registration: socket-name when set, else fallback ("server"). Used by daemon-store and daemon-selection to identify the canonical daemon.

Daemon ID for registration: socket-name when set, else fallback ("server").
Used by daemon-store and daemon-selection to identify the canonical daemon.
sourceraw docstring

default-socket-fallbackclj

Daemon ID used when EMACS_SOCKET_NAME is unset. Matches the conventional Emacs daemon name when started without --daemon=NAME.

Daemon ID used when EMACS_SOCKET_NAME is unset.
Matches the conventional Emacs daemon name when started without --daemon=NAME.
sourceraw docstring

emacs-configclj

(emacs-config variant-kw__1989__auto__)
(emacs-config variant-kw__1989__auto__ data__1990__auto__)

Construct a EmacsConfig variant. (emacs-config variant-keyword) for enum variants (emacs-config variant-keyword data-map) for data variants

Throws ex-info for unknown variants.

Construct a EmacsConfig variant.
(emacs-config variant-keyword) for enum variants
(emacs-config variant-keyword data-map) for data variants

Throws ex-info for unknown variants.
sourceraw docstring

emacs-config?clj

(emacs-config? x__1991__auto__)

True if x is a EmacsConfig ADT value.

True if x is a EmacsConfig ADT value.
sourceraw docstring

emacsclient-pathclj

(emacsclient-path)

Resolved emacsclient binary path.

Resolved emacsclient binary path.
sourceraw docstring

EmacsConfigclj

Config ADT for EmacsConfig. Auto-generated by defconfig.

Config ADT for EmacsConfig. Auto-generated by defconfig.
sourceraw docstring

EmacsConfig-fieldsclj

source

EmacsConfig-schemaclj

source

resolve!clj

(resolve!)
(resolve! overrides)

Resolve EmacsConfig with optional overrides. Returns the resolved map directly. Throws if resolution fails (defaults guarantee resolution under normal conditions).

Resolve EmacsConfig with optional overrides.
Returns the resolved map directly. Throws if resolution fails
(defaults guarantee resolution under normal conditions).
sourceraw docstring

resolve-EmacsConfigclj

source

socket-nameclj

(socket-name)

Resolved EMACS_SOCKET_NAME (may be nil for default daemon).

Resolved EMACS_SOCKET_NAME (may be nil for default daemon).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close