snippets: tempel: Fix calls to mapconcat.
* etc/snippets/tempel/text-mode (update\ ,https\ ): Add "\n" as separator argument to mapconcat.
This commit is contained in:
parent
e4951f7c71
commit
980c34853e
|
@ -70,7 +70,7 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode))
|
||||||
(buffer-substring-no-properties (point) (- end 2))))))
|
(buffer-substring-no-properties (point) (- end 2))))))
|
||||||
version) "." n n
|
version) "." n n
|
||||||
"* " (car (magit-staged-files)) " (" (s var) "): Update to " (s version) "."
|
"* " (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\
|
(addcl\
|
||||||
"gnu: Add cl-"
|
"gnu: Add cl-"
|
||||||
|
@ -98,7 +98,7 @@ text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode))
|
||||||
var)
|
var)
|
||||||
": Use HTTPS home page." n n
|
": Use HTTPS home page." n n
|
||||||
"* " (car (magit-staged-files)) " (" (s var) ")[home-page]: Use HTTPS." 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\
|
(move\
|
||||||
"gnu: "
|
"gnu: "
|
||||||
|
|
Loading…
Reference in a new issue