diff options
author | 2023-03-08 01:01:28 +0100 | |
---|---|---|
committer | 2023-03-08 01:05:09 +0100 | |
commit | d1309c4e45f26d5b5b50f5d23d0f6dddbd7f011b (patch) | |
tree | ed8c01e1e9a390c344ed00292cdc5e8d3f120b9e | |
parent | bump to 2.0.1 (diff) | |
download | emacs-ebuild-snippets-d1309c4e45f26d5b5b50f5d23d0f6dddbd7f011b.tar.gz emacs-ebuild-snippets-d1309c4e45f26d5b5b50f5d23d0f6dddbd7f011b.tar.bz2 emacs-ebuild-snippets-d1309c4e45f26d5b5b50f5d23d0f6dddbd7f011b.zip |
ebuild-snippets.el: explain; always add "snippets"
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r-- | ebuild-snippets.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ebuild-snippets.el b/ebuild-snippets.el index 2406805..8e19ec3 100644 --- a/ebuild-snippets.el +++ b/ebuild-snippets.el @@ -60,8 +60,13 @@ :group 'ebuild) (defcustom ebuild-snippets-directory - (or nil ; changeme - (expand-file-name "snippets" (file-name-directory load-file-name))) + (expand-file-name "snippets" + ;; This is a hack, "or" will take 1st non nil value, + ;; we use this to overwrite this value in system-wide + ;; install, see the emacs-ebuild-snippets ebuild. + (or nil + ;; changeme + (file-name-directory load-file-name))) "Location of yasnippets from Ebuild-Snippets." :safe 'stringp :type 'file |