aboutsummaryrefslogtreecommitdiff
path: root/etc/snippets/tempel
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-10-06 18:54:36 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-10-06 21:16:45 +0200
commit980c34853e1020018df3a0c04753ea46d880e9a7 (patch)
tree99d85f1f554cc4f9c9623602bd63190bcae27878 /etc/snippets/tempel
parente4951f7c71b2e94de40a194b4e1d2034266d4c3a (diff)
downloadguix-980c34853e1020018df3a0c04753ea46d880e9a7.tar.gz
guix-980c34853e1020018df3a0c04753ea46d880e9a7.zip
snippets: tempel: Fix calls to mapconcat.
* etc/snippets/tempel/text-mode (update\ ,https\ ): Add "\n" as separator argument to mapconcat.
Diffstat (limited to 'etc/snippets/tempel')
-rw-r--r--etc/snippets/tempel/text-mode4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/snippets/tempel/text-mode b/etc/snippets/tempel/text-mode
index 8096d92e47..d6a1d8df45 100644
--- a/etc/snippets/tempel/text-mode
+++ b/etc/snippets/tempel/text-mode
@@ -70,7 +70,7 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode))
(buffer-substring-no-properties (point) (- end 2))))))
version) "." n n
"* " (car (magit-staged-files)) " (" (s var) "): Update to " (s version) "."
- (mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files))) n)
+ n (mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files)) "\n"))
(addcl\
"gnu: Add cl-"
@@ -98,7 +98,7 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode))
var)
": Use HTTPS home page." n n
"* " (car (magit-staged-files)) " (" (s var) ")[home-page]: Use HTTPS." n
- (mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files))) n)
+ (mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files)) "\n"))
(move\
"gnu: "