summaryrefslogtreecommitdiff
path: root/etc/snippets/tempel/scheme-mode.eld
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2025-01-08 13:53:12 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-01-16 08:42:05 +0100
commit6bdada7e53d87439a2fbbeb09ac8beb17bcb93a1 (patch)
tree8fea83660962b84ae3c93baef9ccc7f865a9f91c /etc/snippets/tempel/scheme-mode.eld
parent6576487c29c1e140c80a69eb84662af86829a53b (diff)
etc: snippets: Improve usability of tempel phases snippets.
* etc/snippets/tempel/scheme-mode.eld (#:phases~\ ): New snippet. (add-before\ , add-after\ , replace\ ): Add dummy phase names.
Diffstat (limited to 'etc/snippets/tempel/scheme-mode.eld')
-rw-r--r--etc/snippets/tempel/scheme-mode.eld9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/snippets/tempel/scheme-mode.eld b/etc/snippets/tempel/scheme-mode.eld
index 21a5dd6dee..67fbc5be2b 100644
--- a/etc/snippets/tempel/scheme-mode.eld
+++ b/etc/snippets/tempel/scheme-mode.eld
@@ -79,9 +79,12 @@ scheme-mode
(:phases\ "#:phases (modify-phases %standard-phases"
n> p ")")
+(:phases~\ "#:phases"
+ n> "#~(modify-phases %standard-phases"
+ n> p ")")
-(add-before\ "(add-before '" p " '" p
+(add-before\ "(add-before '" (p "next") " '" (p "previous")
n > p ")")
-(add-after\ "(add-after '" p " '" p
+(add-after\ "(add-after '" (p "previous") " '" (p "next")
n > p ")")
-(replace\ "(replace '" p " " p")")
+(replace\ "(replace '" (p "old") " " p ")")