aboutsummaryrefslogtreecommitdiff
path: root/etc/snippets/yas/log-edit-mode/guix-vc-commit-message-use-https-home-page
blob: e0f170b01562f6b6596eb01f7f8818ef7f3f377b (about) (plain)
1
2
3
4
5
6
7
8
9
# -*- mode: snippet -*-
# name: guix-vc-commit-message-use-https-home-page
# key: https
# --
gnu: ${1:`(when (string-match "^[ ]*(define-public \\(\\S-+\\)" vc-patch-string)
            (match-string-no-properties 1 vc-patch-string))`}: Use HTTPS home page URI.

* `(car (log-edit-files))` ($1)[home-page]: Use HTTPS URI.
`(mapconcat (lambda (file) (concat "* " file)) (cdr (log-edit-files)) "\n")`