From: Marek Szuba Date: Thu, 19 Mar 2020 18:50:33 +0000 (+0100) Subject: app-emacs/meson-mode: install a site-init file X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a69fe951fe5134846717bc0b454cf080e60ab58d;p=gentoo.git app-emacs/meson-mode: install a site-init file Signed-off-by: Marek Szuba --- 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 similarity index 93% rename from app-emacs/meson-mode/meson-mode-0.2.ebuild rename to 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"