mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-22 09:27:32 -08: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>
19 lines
523 B
Diff
19 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 ()
|