mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 23:48:22 +02:00
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>
18 lines
523 B
Diff
18 lines
523 B
Diff
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 ()
|