summaryrefslogtreecommitdiff
blob: 2d5c8f2e483b119de71a003dce1fbf660c4b5afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
index 078ac04..1c84318 100644
--- a/yasnippet-snippets.el
+++ b/yasnippet-snippets.el
@@ -35,13 +35,7 @@
 (defconst yasnippet-snippets-dir
   (expand-file-name
    "snippets"
-   (file-name-directory
-    ;; Copied from ‘f-this-file’ from f.el.
-    (cond
-     (load-in-progress load-file-name)
-     ((and (boundp 'byte-compile-current-file) byte-compile-current-file)
-      byte-compile-current-file)
-     (:else (buffer-file-name))))))
+   "@SITEETC@"))
 
 ;;;###autoload
 (defun yasnippet-snippets-initialize ()