summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..ecfaf0e
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,20 @@
+;;; Directory Local Variables
+;;; For more information see (info "(emacs) Directory Variables")
+
+((nil
+ (indent-tabs-mode))
+ (makefile-gmake-mode
+ (indent-tabs-mode t))
+ (scheme-mode
+ (eval . (put 'call-with-current-directory 'scheme-indent-function 1))
+ (eval . (put 'call-with-temporary-checkout 'scheme-indent-function 1))
+ (eval . (put 'function-documentation 'scheme-indent-function 2))
+ (eval . (put 'docstring-function-documentation 'scheme-indent-function 2))
+ (eval . (put 'with-ellipsis 'scheme-indent-function 1))
+ (eval . (put 'with-variable 'scheme-indent-function 2))
+ (eval . (put 'with-variables 'scheme-indent-function 1))
+ (eval . (font-lock-add-keywords 'scheme-mode
+ (list (cons (rx "(" (group "define-lazy"))
+ (list 1 'font-lock-keyword-face))
+ (cons (rx "(define-lazy (" (group (one-or-more (not space))))
+ (list 1 'font-lock-function-name-face)))))))