summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-01-10 20:32:09 +0100
committerUlrich Müller <ulm@gentoo.org>2022-01-10 20:32:09 +0100
commitf19a84e388175ce2111071e731a28c826ed09fd6 (patch)
treecc33f4e87b43682e0c18e992be46f41ef8e20395 /app-emacs
parentapp-emacs/org-mode: Live ebuild moved to gentoo repository (diff)
downloademacs-f19a84e388175ce2111071e731a28c826ed09fd6.tar.gz
emacs-f19a84e388175ce2111071e731a28c826ed09fd6.tar.bz2
emacs-f19a84e388175ce2111071e731a28c826ed09fd6.zip
app-emacs/ebuild-mode: Enable conf-mode for make.defaults
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el
index c93b8da..06ae544 100644
--- a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el
+++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el
@@ -22,6 +22,8 @@
\\|license\\|properties\\|accept_\\(keywords\\|restrict\\)\\)\
\\|\\(package\\.\\)?use.\\(stable\\.\\)?\\(force\\|mask\\)\\)\\'"
. conf-space-mode))
+(add-to-list 'auto-mode-alist
+ '("/make\\.\\(conf\\|defaults\\)\\'" . conf-unix-mode))
(add-to-list 'interpreter-mode-alist '("openrc-run" . sh-mode))
(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
(add-hook 'find-file-hook #'ebuild-repo-mode-maybe-enable)