summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-03-19 19:50:33 +0100
committerMarek Szuba <marecki@gentoo.org>2020-03-19 19:52:33 +0100
commita69fe951fe5134846717bc0b454cf080e60ab58d (patch)
tree1eb830db4bf7d202e88dd52c05400502b2646f16 /app-emacs/meson-mode/files
parentwww-client/chromium: security cleanup (diff)
downloadgentoo-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/meson-mode/files')
-rw-r--r--app-emacs/meson-mode/files/50meson-mode-gentoo.el4
1 files changed, 4 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 00000000000..e1a3b4991da
--- /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))