gentoo-ebuilds/app-emacs/yasnippet-snippets/files/yasnippet-snippets-dir.patch
Maciej Barć dd486c0710
app-emacs/yasnippet-snippets: install el library files
some libraries want to acess "yasnippet-snippets--fixed-indent" or
"yasnippet-snippets-initialize", so let's install the missing
"yasnippet-snippets.el" files providing those functions, also change
how site-gentoo autoloads are handled - call
"yasnippet-snippets-initialize"

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2022-04-08 18:10:12 +02:00

18 lines
523 B
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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