From: Andreas Gerler Date: Mon, 9 Mar 2015 12:19:53 +0000 (+0700) Subject: snippets/cfengine3-mode/filecplocal: replace $ ( and ) X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=be601522451b47623a904438aa29373e9a60d3c0;p=emacsconfig.git snippets/cfengine3-mode/filecplocal: replace $ ( and ) Signed-off-by: Andreas Gerler --- diff --git a/snippets/cfengine3-mode/filecplocal b/snippets/cfengine3-mode/filecplocal index 6811f70b..efe47b3f 100644 --- a/snippets/cfengine3-mode/filecplocal +++ b/snippets/cfengine3-mode/filecplocal @@ -3,7 +3,7 @@ # key: filecplocal # -- "${1:file}" -handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_create" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}", +handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_create" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}", comment => "copy $1", perms => mog("${3:644}","${4:root}","${5:root}"), copy_from => local_dcp("$(this.promise_dirname)/templates/${6}" );