diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-03-19 19:50:33 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-03-19 19:52:33 +0100 |
commit | a69fe951fe5134846717bc0b454cf080e60ab58d (patch) | |
tree | 1eb830db4bf7d202e88dd52c05400502b2646f16 /app-emacs | |
parent | www-client/chromium: security cleanup (diff) | |
download | gentoo-a69fe951fe5134846717bc0b454cf080e60ab58d.tar.gz gentoo-a69fe951fe5134846717bc0b454cf080e60ab58d.tar.bz2 gentoo-a69fe951fe5134846717bc0b454cf080e60ab58d.zip |
app-emacs/meson-mode: install a site-init file
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/meson-mode/files/50meson-mode-gentoo.el | 4 | ||||
-rw-r--r-- | app-emacs/meson-mode/meson-mode-0.2-r1.ebuild (renamed from app-emacs/meson-mode/meson-mode-0.2.ebuild) | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app-emacs/meson-mode/files/50meson-mode-gentoo.el b/app-emacs/meson-mode/files/50meson-mode-gentoo.el new file mode 100644 index 000000000000..e1a3b4991dab --- /dev/null +++ b/app-emacs/meson-mode/files/50meson-mode-gentoo.el @@ -0,0 +1,4 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'meson-mode "meson-mode" + "Major mode for editing Meson build-system files" t) +(add-to-list 'auto-mode-alist '("/meson\\(\\.build\\|_options\\.txt\\)\\'" . meson-mode)) diff --git a/app-emacs/meson-mode/meson-mode-0.2.ebuild b/app-emacs/meson-mode/meson-mode-0.2-r1.ebuild index ff33748c1148..4280da270001 100644 --- a/app-emacs/meson-mode/meson-mode-0.2.ebuild +++ b/app-emacs/meson-mode/meson-mode-0.2-r1.ebuild @@ -15,3 +15,5 @@ SLOT="0" KEYWORDS="~amd64" DOCS=( README.md ) + +SITEFILE="50${PN}-gentoo.el" |