GNU bug report logs - #53505
[PATCH] .dir-locals.el: Don't mess up indentation of prepend and append.

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Mon, 24 Jan 2022 16:56:01 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 53505 <at> debbugs.gnu.org
Subject: [bug#53505] [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append.
Date: Mon, 24 Jan 2022 17:36:46 +0100
The current version appears to assume special values in the first and second
package, but it's either all lists (default append) or all package input
expressions (inside modify-inputs), which themselves are either packages
or a list consisting of a package and a string.

* .dir-locals.el: Drop (eval . (put 'prepend 'scheme-indent-function 2))
and (eval . (put 'append 'scheme-indent-function 2)).
---
 .dir-locals.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 12a6f08739..0edf2a8d23 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -60,8 +60,6 @@
    ;; 'modify-inputs' and its keywords.
    (eval . (put 'modify-inputs 'scheme-indent-function 1))
    (eval . (put 'replace 'scheme-indent-function 1))
-   (eval . (put 'prepend 'scheme-indent-function 2))
-   (eval . (put 'append 'scheme-indent-function 2))
 
    ;; 'modify-phases' and its keywords.
    (eval . (put 'modify-phases 'scheme-indent-function 1))
-- 
2.34.0





This bug report was last modified 3 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.