commit:     654531ebed5435b377f9adb92b098e45cb4f3bea
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 12:13:05 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 12:13:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=654531eb

app-emacs/ebuild-mode: Enable ebuild-repo-mode in find-file-hook

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el 
b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el
index e4bbe68..aa1e324 100644
--- a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el
+++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el
@@ -21,4 +21,5 @@
               . conf-space-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)
 (modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\)\\'" 'utf-8)

Reply via email to