diff mbox series

[bug#57069,v3,2/4] etc: Add tempel snippet for :phases.

Message ID 20220812085851.12104-2-ngraves@ngraves.fr
State Accepted
Headers show
Series [bug#57069,v3,1/4] etc: Add tempel snippets. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Nicolas Graves Aug. 12, 2022, 8:58 a.m. UTC
---
 etc/snippets/tempel/scheme-mode | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series

Patch

diff --git a/etc/snippets/tempel/scheme-mode b/etc/snippets/tempel/scheme-mode
index 386c9e653f..34625420be 100644
--- a/etc/snippets/tempel/scheme-mode
+++ b/etc/snippets/tempel/scheme-mode
@@ -112,3 +112,13 @@  scheme-mode
  "(bzr-reference"
  n> "(url \"" p "\")"
  n> "(revision \"" p "\"))")
+
+(:phases
+ ":phases (modify-phases %standard-phases" n>
+ "(" (p (completing-read "modify:"
+                         '("add-before"
+                           "replace"
+                           "add-after"
+                           "delete ")
+                         nil t))
+ " '" q "))" )