summaryrefslogtreecommitdiff
blob: d38b320488cdd14c6bc7f61dbd6cdb3c52e9b451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/elpy.el b/elpy.el
index f2a24a1..7a9b464 100644
--- a/elpy.el
+++ b/elpy.el
@@ -2022,8 +3777,7 @@ If a region is selected, fold that region."
      (unless (listp yas-snippet-dirs)
        (setq yas-snippet-dirs (list yas-snippet-dirs)))
      (add-to-list 'yas-snippet-dirs
-                  (concat (file-name-directory (locate-library "elpy"))
-                          "snippets/")
+                  "@SITEETC@/snippets"
                   t)
 
      ;; Now load yasnippets.