From 595596be916f9c4154d3dd2ec0c67d3435e9abcf Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 25 Oct 2016 21:03:17 -0400 Subject: snippets (fname): Remove unnecessary insert call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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’. --- snippets/text-mode/fname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'snippets/text-mode') 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 -- cgit v1.2.3