etc: snippets: Add guix-commit-message-use-https-home-page.

* etc/snippets/text-mode/guix-commit-message-use-https-home-page: New file.
* doc/contributing.texi (The Perfect Setup): Document new snippet.
This commit is contained in:
Arun Isaac 2018-07-05 17:12:43 +05:30
parent 202befb4ae
commit 9286c29504
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: guix-commit-message-use-https-home-page
# key: https
# condition: git-commit-mode
# --
gnu: $1: Use HTTPS home page URI.
* `(car (magit-staged-files))` ($1)[home-page]: Use HTTPS URI.
`(mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files)) "\n")`