diff options
author | 2021-03-16 13:13:05 +0100 | |
---|---|---|
committer | 2021-03-16 13:13:05 +0100 | |
commit | 654531ebed5435b377f9adb92b098e45cb4f3bea (patch) | |
tree | 034d8cf764db2ed4dfbbc096b585dbd548608f2b /app-emacs | |
parent | app-emacs/emacs-common-gentoo: "Upstream" branch has been renamed (diff) | |
download | emacs-654531ebed5435b377f9adb92b098e45cb4f3bea.tar.gz emacs-654531ebed5435b377f9adb92b098e45cb4f3bea.tar.bz2 emacs-654531ebed5435b377f9adb92b098e45cb4f3bea.zip |
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@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el | 1 |
1 files changed, 1 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 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) |