summaryrefslogtreecommitdiff
path: root/snippets
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-10-25 21:03:17 -0400
committerKyle Meyer <kyle@kyleam.com>2016-10-25 21:03:17 -0400
commit595596be916f9c4154d3dd2ec0c67d3435e9abcf (patch)
tree32b3aca9261eb0cc34c1cb563ab137370de8da54 /snippets
parentaafc864bcb267a7b45a7c0c3ad2a0fd06de3a1fb (diff)
downloademacs.d-595596be916f9c4154d3dd2ec0c67d3435e9abcf.tar.gz
snippets (fname): Remove unnecessary insert call
In addition to being unnecessary, this silences the following warning: Warning (yasnippet): ‘fname’ modified buffer in a backquote expression. To hide this warning, add (yasnippet backquote-change) to ‘warning-suppress-types’.
Diffstat (limited to 'snippets')
-rw-r--r--snippets/text-mode/fname2
1 files changed, 1 insertions, 1 deletions
diff --git a/snippets/text-mode/fname b/snippets/text-mode/fname
index f80d053..5b814b5 100644
--- a/snippets/text-mode/fname
+++ b/snippets/text-mode/fname
@@ -2,4 +2,4 @@
# key: fname
# condition: 'force-in-comment
# --
-`(insert (file-name-nondirectory (buffer-file-name)))` $0 \ No newline at end of file
+`(file-name-nondirectory (buffer-file-name))` $0 \ No newline at end of file