diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-02-27 23:10:27 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-02-27 23:10:27 +0100 |
commit | 27295d8509414e48cf3e0ec14811db527aaffda9 (patch) | |
tree | c4b75bcf94510d0d466e3dd482d99d701956a4bb | |
parent | snippets/ebuild-mode: add missing pkg_* functions yasnippets (diff) | |
download | emacs-ebuild-snippets-27295d8509414e48cf3e0ec14811db527aaffda9.tar.gz emacs-ebuild-snippets-27295d8509414e48cf3e0ec14811db527aaffda9.tar.bz2 emacs-ebuild-snippets-27295d8509414e48cf3e0ec14811db527aaffda9.zip |
scripts/compile-snippets.el: better snippets-directory detection
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rwxr-xr-x | scripts/compile-snippets.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/compile-snippets.el b/scripts/compile-snippets.el index c9659c9..73af4da 100755 --- a/scripts/compile-snippets.el +++ b/scripts/compile-snippets.el @@ -23,7 +23,8 @@ ;;; Code: -(defvar snippets-directory (expand-file-name "./snippets")) +(defvar snippets-directory + (expand-file-name "../snippets" (file-name-directory load-file-name))) (message "Snippets directory: %s" snippets-directory) |