aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2017-04-28 15:53:51 +0300
committerAlex Kost <alezost@gmail.com>2017-05-04 22:45:53 +0300
commitda99126ca2fc2959189ca7901c328c19cd80ae82 (patch)
treef686a02757f7abcb986c181e3bd696c4fb14deb2
parent97658183eda6e196bd16bed02838d321b45aee70 (diff)
downloadguix-da99126ca2fc2959189ca7901c328c19cd80ae82.tar
guix-da99126ca2fc2959189ca7901c328c19cd80ae82.tar.gz
dir-locals.el: Add 'modify-phases' keywords.
* .dir-locals.el: Add indentation rules for 'replace', 'add-before' and 'add-after'.
-rw-r--r--.dir-locals.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index a2d1eb8160..4aaeae95c9 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -23,7 +23,13 @@
(eval . (put 'guard 'scheme-indent-function 1))
(eval . (put 'lambda* 'scheme-indent-function 1))
(eval . (put 'substitute* 'scheme-indent-function 1))
+
+ ;; 'modify-phases' and its keywords.
(eval . (put 'modify-phases 'scheme-indent-function 1))
+ (eval . (put 'replace 'scheme-indent-function 1))
+ (eval . (put 'add-before 'scheme-indent-function 2))
+ (eval . (put 'add-after 'scheme-indent-function 2))
+
(eval . (put 'modify-services 'scheme-indent-function 1))
(eval . (put 'with-directory-excursion 'scheme-indent-function 1))
(eval . (put 'package 'scheme-indent-function 0))