aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorArun Isaac2023-10-09 20:28:31 +0100
committerArun Isaac2023-10-09 21:59:52 +0100
commit17a76711d1f9bdaad133c9364a9bfd2ef10b8f22 (patch)
tree7c63197fe39e050cf1415aa93998e4f4e4174b8d /.dir-locals.el
parentde18ef6d55b52f52837395684e6b8265b2ad26b3 (diff)
downloadccwl-17a76711d1f9bdaad133c9364a9bfd2ef10b8f22.tar.gz
ccwl-17a76711d1f9bdaad133c9364a9bfd2ef10b8f22.tar.lz
ccwl-17a76711d1f9bdaad133c9364a9bfd2ef10b8f22.zip
ccwl: Allow literals as arguments.
* ccwl/ccwl.scm (<input>)[set-input-default]: New setter. * ccwl/ccwl.scm (<command>)[set-command-inputs]: Add setter. * ccwl/ccwl.scm (apply-partially): New function. (collect-steps): Support literal strings as arguments. * tests/ccwl.scm ("allow literal strings as arguments"): New test. * .dir-locals.el (scheme-mode): Indent set-command-inputs and set-input-default.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 6b65dec..ce473a1 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -7,5 +7,7 @@
(indent-tabs-mode t))
(scheme-mode
(eval put 'lambda** 'scheme-indent-function 1)
+ (eval put 'set-command-inputs 'scheme-indent-function 1)
+ (eval put 'set-input-default 'scheme-indent-function 1)
(eval put 'syntax-lambda** 'scheme-indent-function 1)
(eval put 'workflow 'scheme-indent-function 1)))