diff options
author | Arun Isaac | 2023-01-23 00:21:38 +0000 |
---|---|---|
committer | Arun Isaac | 2023-01-23 00:28:13 +0000 |
commit | 18da70e31aa4da81673191d539c98784f9cfb7f4 (patch) | |
tree | f485e25d0d02f2ebf74c2296e6d4dafab6b526d9 | |
parent | 009077224499a8da26314177ca8e94b1600050a5 (diff) | |
download | tissue-18da70e31aa4da81673191d539c98784f9cfb7f4.tar.gz tissue-18da70e31aa4da81673191d539c98784f9cfb7f4.tar.lz tissue-18da70e31aa4da81673191d539c98784f9cfb7f4.zip |
dir-locals.el: Add Emacs directory local variables.
* .dir-locals.el: New file.
-rw-r--r-- | .dir-locals.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..d129e76 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,18 @@ +;;; 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-file-in-git 'scheme-indent-function 2)) + (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 . (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))))))) |