commit: a55213125b72f602b27a90e06fb39bb7b1b55cbc Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sat Feb 8 16:02:33 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sat Feb 8 16:02:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=a5521312
app-emacs/ebuild-mode: Autoload devbook-mode in site-init file. Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el index 8683a65..630ad49 100644 --- a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el +++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el @@ -1,12 +1,15 @@ (add-to-list 'load-path "@SITELISP@") (autoload 'ebuild-mode "ebuild-mode" "Major mode for Portage .ebuild and .eclass files." t) +(autoload 'devbook-mode "devbook-mode" + "Major mode for editing the Gentoo Devmanual." t) (autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode" "Major mode for Gentoo GLEP 42 news items." t) (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 '("/devmanual.*\\.xml\\'" . devbook-mode)) (add-to-list 'auto-mode-alist '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'" . gentoo-newsitem-mode))