Skip to content

Commit

Permalink
app-emacs/ebuild-mode: Sync site-init file from emacs overlay.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Jul 23, 2020
1 parent 22e856c commit b0c0c64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.51.el
Original file line number Diff line number Diff line change
@@ -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))
Expand Down

0 comments on commit b0c0c64

Please sign in to comment.