From: Nicholas D Steeves <nsteeves@gmail.com>
Date: Wed, 21 Mar 2018 18:50:38 -0400
Subject: Define canonical yasnippet-snippets-dir on Debian systems

Forwarded: not-needed
---
 yasnippet-snippets.el | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/yasnippet-snippets.el b/yasnippet-snippets.el
index fbb474c..44e6372 100644
--- a/yasnippet-snippets.el
+++ b/yasnippet-snippets.el
@@ -32,16 +32,8 @@
 
 (require 'yasnippet)
 
-(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))))))
+(defconst yasnippet-snippets-dir "/usr/share/yasnippet-snippets"
+  "Location of the official snippet collection")
 
 ;;;###autoload
 (defun yasnippet-snippets-initialize ()
