]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
snippets/cfengine3-mode/fileappend: exit snippet at append_if_no_lines.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 3 Dec 2014 16:27:27 +0000 (17:27 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 3 Dec 2014 16:27:27 +0000 (17:27 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
snippets/cfengine3-mode/fileappend

index d2243c086623857f07e027d8fd48168652abbe0c..50796abcc60b9e90f2af21fe85f1ba2c27970ec9 100644 (file)
@@ -8,4 +8,4 @@ comment => "configure $1",
 perms => mog("${3:644}","${4:root}","${5:root}"),
 create => "${6:$$(yas-choose-value '("true" "false"))}",
 edit_defaults => empty,
-edit_line => append_if_no_lines( "$7" );
+edit_line => append_if_no_lines( "$0" );