From 93acf4769fea35841bc5fd0e55deecfbc270aba5 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Wed, 11 Dec 2019 20:49:29 +0800 Subject: [PATCH] fix initializer Currently, the symbol yasnippet-snippets-dir ends up being added to the yas-snippet-dirs list instead of the value of yasnippet-snippets-dir. --- yasnippet-snippets.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet-snippets.el b/yasnippet-snippets.el index 1a14367..96e4f6f 100644 --- a/yasnippet-snippets.el +++ b/yasnippet-snippets.el @@ -45,7 +45,7 @@ ;;;###autoload (defun yasnippet-snippets-initialize () "Load the `yasnippet-snippets' snippets directory." - (add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t) + (add-to-list 'yas-snippet-dirs yasnippet-snippets-dir t) (yas-load-directory yasnippet-snippets-dir t)) (defgroup yasnippet-snippets nil