From 1bd5f2b8fae2c3d14792feccb021c2dc95299d46 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Wed, 15 Feb 2023 18:11:08 -0800 Subject: [PATCH] [#156] Document evaluation of non-strings --- apheleia.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apheleia.el b/apheleia.el index ddc8e239..678dea04 100644 --- a/apheleia.el +++ b/apheleia.el @@ -1034,6 +1034,11 @@ then the first string element of the command list is resolved inside node_modules/.bin if such a directory exists anywhere above the current `default-directory'. +Any list elements that are not strings and not any of the special +symbols mentioned above will be evaluated when the formatter is +invoked, and spliced into the list. A form can evaluate either to +a string or to a list of strings. + The \"scripts/formatters\" subdirectory of the Apheleia source repository is automatically prepended to $PATH (variable `exec-path', to be specific) when invoking external formatters.