summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-02-08 17:02:33 +0100
committerUlrich Müller <ulm@gentoo.org>2020-02-08 17:02:33 +0100
commita55213125b72f602b27a90e06fb39bb7b1b55cbc (patch)
treecaa29cc0e65b5223605b2cfa8c4a01e791e4cfa4
parentelisp-common.eclass: Add missing argument to eend. (diff)
downloademacs-a55213125b72f602b27a90e06fb39bb7b1b55cbc.tar.gz
emacs-a55213125b72f602b27a90e06fb39bb7b1b55cbc.tar.bz2
emacs-a55213125b72f602b27a90e06fb39bb7b1b55cbc.zip
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@gentoo.org>
-rw-r--r--app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el3
1 files changed, 3 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 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))