.dir-locals.el 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ;; Per-directory local variables for GNU Emacs 23 and later.
  2. ((nil . ((fill-column . 72)
  3. (tab-width . 8)))
  4. (c-mode . ((c-file-style . "gnu")
  5. (indent-tabs-mode . nil)))
  6. (scheme-mode
  7. . ((indent-tabs-mode . nil)
  8. (eval . (put 'pass-if 'scheme-indent-function 1))
  9. (eval . (put 'pass-if-exception 'scheme-indent-function 2))
  10. (eval . (put 'pass-if-equal 'scheme-indent-function 2))
  11. (eval . (put 'with-test-prefix 'scheme-indent-function 1))
  12. (eval . (put 'with-code-coverage 'scheme-indent-function 1))
  13. (eval . (put 'with-statprof 'scheme-indent-function 1))
  14. (eval . (put 'let-gensyms 'scheme-indent-function 1))
  15. (eval . (put 'let-fresh 'scheme-indent-function 2))
  16. (eval . (put 'with-fresh-name-state 'scheme-indent-function 1))
  17. (eval . (put 'with-fresh-name-state-from-dfg 'scheme-indent-function 1))
  18. (eval . (put 'with-cps 'scheme-indent-function 1))
  19. (eval . (put 'with-cps-constants 'scheme-indent-function 1))
  20. (eval . (put 'build-cps-term 'scheme-indent-function 0))
  21. (eval . (put 'build-cps-exp 'scheme-indent-function 0))
  22. (eval . (put 'build-cps-cont 'scheme-indent-function 0))
  23. (eval . (put 'rewrite-cps-term 'scheme-indent-function 1))
  24. (eval . (put 'rewrite-cps-cont 'scheme-indent-function 1))
  25. (eval . (put 'rewrite-cps-exp 'scheme-indent-function 1))
  26. (eval . (put 'build-term 'scheme-indent-function 0))
  27. (eval . (put 'build-exp 'scheme-indent-function 0))
  28. (eval . (put 'build-cont 'scheme-indent-function 0))
  29. (eval . (put 'rewrite-term 'scheme-indent-function 1))
  30. (eval . (put 'rewrite-cont 'scheme-indent-function 1))
  31. (eval . (put 'rewrite-exp 'scheme-indent-function 1))
  32. (eval . (put '$letk 'scheme-indent-function 1))
  33. (eval . (put '$letk* 'scheme-indent-function 1))
  34. (eval . (put '$letconst 'scheme-indent-function 1))
  35. (eval . (put '$continue 'scheme-indent-function 2))
  36. (eval . (put '$branch 'scheme-indent-function 3))
  37. (eval . (put '$prompt 'scheme-indent-function 3))
  38. (eval . (put '$kargs 'scheme-indent-function 2))
  39. (eval . (put '$kfun 'scheme-indent-function 4))
  40. (eval . (put '$letrec 'scheme-indent-function 3))
  41. (eval . (put '$kclause 'scheme-indent-function 1))
  42. (eval . (put '$fun 'scheme-indent-function 1))
  43. (eval . (put 'syntax-parameterize 'scheme-indent-function 1))))))
  44. (emacs-lisp-mode . ((indent-tabs-mode . nil)))
  45. (texinfo-mode . ((indent-tabs-mode . nil)
  46. (fill-column . 72))))