summaryrefslogtreecommitdiff
path: root/app-emacs/yasnippet-snippets/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/yasnippet-snippets/files')
-rw-r--r--app-emacs/yasnippet-snippets/files/50yasnippet-snippets-gentoo.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emacs/yasnippet-snippets/files/50yasnippet-snippets-gentoo.el b/app-emacs/yasnippet-snippets/files/50yasnippet-snippets-gentoo.el
new file mode 100644
index 000000000000..2db51796990b
--- /dev/null
+++ b/app-emacs/yasnippet-snippets/files/50yasnippet-snippets-gentoo.el
@@ -0,0 +1,4 @@
+(eval-after-load "yasnippet"
+ '(let ((snippets-dir "@SITEETC@"))
+ (add-to-list 'yas-snippet-dirs snippets-dir t)
+ (yas-load-directory snippets-dir t)))