You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emacs/yasnippet-snippets/files/yasnippet-snippets-dir.patch

19 lines
523 B

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 ()