blob 0c1050f4feddfff219dbcc44cd31e3d220e578ae 494 bytes (raw)
name: etc/snippets/yas/text-mode/guix-commit-message-remove-package # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
| | # -*- mode: snippet -*-
# name: guix-commit-message-remove-package
# key: remove
# condition: git-commit-mode
# --
gnu: Remove ${1:`(with-temp-buffer
(magit-git-wash #'magit-diff-wash-diffs
"diff" "--staged")
(goto-char (point-min))
(when (re-search-forward "\\-(define-public \\(\\S-+\\)" nil 'noerror)
(match-string-no-properties 1)))`}.
* `(car (magit-staged-files))` ($1): Delete variable.
|
debug log:
solving 0c1050f4feddfff219dbcc44cd31e3d220e578ae ...
found 0c1050f4feddfff219dbcc44cd31e3d220e578ae in https://git.savannah.gnu.org/cgit/guix.git
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.