# config/save-map Write a given map to a Deft config file in the same format used by `config/save`. Used by the config app to persist only the user overrides diff rather than the entire registry. ## Syntax
[config/save-map $map ?path]
## Parameters - `$map` — the map to write. Keys may be strings or keywords; values are stringified to their canonical literal form. - `?path` — (optional) config file path, defaults to `.deft/config.dft`. ## Examples
[config/save-map %{ "log/max-lines" 1000 "log/wrap" true }]
## Returns Boolean — `true` on success. Atomicity is best-effort (write-then-rename). ## See Also `config/save`, `config/save-overrides`, `config/load`