summary refs log tree commit diff
path: root/etc/snippets/text-mode/guix-commit-message-add-cl-package
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-08-12 10:58:48 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-08-30 11:50:14 +0200
commitc4acaf412064568a546034871a9e0d3888aa7937 (patch)
tree5e7bded5fd11b96dc65627b54942f6da5792abf8 /etc/snippets/text-mode/guix-commit-message-add-cl-package
parent6beadc82df204f315d06ea35f2e232bb32f8e440 (diff)
downloadguix-c4acaf412064568a546034871a9e0d3888aa7937.tar.gz
etc: Add tempel snippets.
* etc/snippets/tempel/scheme-mode: New file.
* etc/snippets/tempel/text-mode: New file.
* etc/snippets/scheme-mode: Moved from here...
* etc/snippets/yas/scheme-mode: ... to here.
* etc/snippets/text-mode: Moved from here...
* etc/snippets/yas/text-mode: ... to here.
* doc/contributing.texi ("The Perfect Setup"): Adjust yasnippet setup
accordingly.  Add tempel setup.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'etc/snippets/text-mode/guix-commit-message-add-cl-package')
-rw-r--r--etc/snippets/text-mode/guix-commit-message-add-cl-package15
1 files changed, 0 insertions, 15 deletions
diff --git a/etc/snippets/text-mode/guix-commit-message-add-cl-package b/etc/snippets/text-mode/guix-commit-message-add-cl-package
deleted file mode 100644
index e255736b05..0000000000
--- a/etc/snippets/text-mode/guix-commit-message-add-cl-package
+++ /dev/null
@@ -1,15 +0,0 @@
-# -*- mode: snippet -*-
-# name: guix-commit-message-add-cl-package
-# key: addcl
-# condition: git-commit-mode
-# --
-gnu: Add ${1:`(with-temp-buffer
-                (magit-git-wash #'magit-diff-wash-diffs
-                  "diff" "--staged")
-                (beginning-of-buffer)
-                (when (search-forward "+(define-public " nil 'noerror)
-                  (replace-regexp-in-string
-		   "^sbcl-" ""
-		   (thing-at-point 'sexp 'no-properties))))`}.
-
-* `(car (magit-staged-files))` (cl-${1:$(replace-regexp-in-string "^cl-" "" yas-text)}, ecl-$1, sbcl-$1): New variables.
\ No newline at end of file