GNU bug report logs -
#26693
[PATCH 0/2] Fix indentation in indent-code.el and dir-locals.el
Previous Next
Reported by: Alex Kost <alezost <at> gmail.com>
Date: Fri, 28 Apr 2017 13:30:03 UTC
Severity: normal
Tags: patch
Done: Alex Kost <alezost <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* .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
This bug report was last modified 8 years and 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.