Skip to content

Commit 3b2b50f

Browse files
committed
append ‘common-lisp-snippet’ to ‘yas-snippet-dir’
This fixes #2. As described in that issue we should not push new value to ‘yes-snippet-dirs’, because then all custom snippets go into ‘car’ directory in that list, that is, directory of Common Lisp snippets. This commit adds Common Lisp snippets directory appending it to existing list.
1 parent 9432bad commit 3b2b50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common-lisp-snippets.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"Initialize Common Lisp snippets, so Yasnippet can see them."
4343
(let ((dir (expand-file-name "snippets" common-lisp-snippets-root)))
4444
(when (boundp 'yas-snippet-dirs)
45-
(add-to-list 'yas-snippet-dirs dir))
45+
(add-to-list 'yas-snippet-dirs dir t))
4646
(yas-load-directory dir)))
4747

4848
;;;###autoload

0 commit comments

Comments
 (0)