branch: elpa/yasnippet-snippets
commit 9b4c2862dea9b6badbbeba990bbeab7588be014f
Merge: af2112e40c 99b0be85e4
Author: Andrea Crotti <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #449 from 
follow-the-vine-to-get-to-the-melon/init-snippets
    
    Fix: do NOT overwrite user snippets
---
 yasnippet-snippets.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/yasnippet-snippets.el b/yasnippet-snippets.el
index 078ac04878..fbb474c4db 100644
--- a/yasnippet-snippets.el
+++ b/yasnippet-snippets.el
@@ -50,8 +50,7 @@
   ;; value, so that yasnippet will automatically find the directory
   ;; after this package is updated (i.e., moves directory).
   (add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
-  (yas--load-snippet-dirs)
-  (yas-load-directory yasnippet-snippets-dir t))
+  (yas--load-snippet-dirs))
 
 (defgroup yasnippet-snippets nil
   "Options for yasnippet setups.

Reply via email to