diff options
author | Ulrich Müller <ulm@gentoo.org> | 2024-06-25 18:22:17 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2024-06-25 18:22:17 +0200 |
commit | 82c3466a807e5abee45946b6b161805c4e7e153f (patch) | |
tree | b913c378dec39583fc2fcbd924082959a8316fb0 | |
parent | elisp-common.eclass: Set no-native-compile in generated files (diff) | |
download | emacs-82c3466a807e5abee45946b6b161805c4e7e153f.tar.gz emacs-82c3466a807e5abee45946b6b161805c4e7e153f.tar.bz2 emacs-82c3466a807e5abee45946b6b161805c4e7e153f.zip |
app-emacs/ebuild-mode: Update site-init file
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el index 06ae544..567e02d 100644 --- a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el +++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el @@ -1,6 +1,8 @@ (add-to-list 'load-path "@SITELISP@") (autoload 'ebuild-mode "ebuild-mode" - "Major mode for Portage .ebuild and .eclass files." t) + "Major mode for Gentoo .ebuild files." t) +(autoload 'ebuild-eclass-mode "ebuild-mode" + "Major mode for Gentoo .eclass files." t) (autoload 'ebuild-repo-mode "ebuild-mode" "Minor mode for files in an ebuild repository." t) (autoload 'ebuild-repo-mode-maybe-enable "ebuild-mode") @@ -11,7 +13,8 @@ (autoload 'glep-mode "glep-mode" "Major mode for Gentoo Linux Enhancement Proposals." t) -(add-to-list 'auto-mode-alist '("\\.\\(ebuild\\|eclass\\)\\'" . ebuild-mode)) +(add-to-list 'auto-mode-alist '("\\.ebuild\\'" . ebuild-mode)) +(add-to-list 'auto-mode-alist '("\\.eclass\\'" . ebuild-eclass-mode)) (add-to-list 'auto-mode-alist '("/devmanual.*\\.xml\\'" . devbook-mode)) (add-to-list 'auto-mode-alist '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'" |