guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26693: [PATCH 1/2] dir-locals.el: Add 'modify-phases' keywords.


From: Alex Kost
Subject: bug#26693: [PATCH 1/2] dir-locals.el: Add 'modify-phases' keywords.
Date: Fri, 28 Apr 2017 16:44:30 +0300

* .dir-locals.el: Add indentation rules for 'replace', 'add-before' and
'add-after'.
---
 .dir-locals.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.dir-locals.el b/.dir-locals.el
index a2d1eb8..4aaeae9 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))
-- 
2.10.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]