You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
649 B
14 lines
649 B
(add-to-list 'load-path "@SITELISP@")
|
|
(autoload 'ebuild-mode "ebuild-mode"
|
|
"Major mode for Portage .ebuild and .eclass files." t)
|
|
(autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode"
|
|
"Major mode for Gentoo GLEP 42 news items." t)
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.\\(ebuild\\|eclass\\)\\'" . ebuild-mode))
|
|
(add-to-list 'auto-mode-alist
|
|
'("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'"
|
|
. gentoo-newsitem-mode))
|
|
(add-to-list 'interpreter-mode-alist '("openrc-run" . sh-mode))
|
|
(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
|
|
(modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\)\\'" 'utf-8)
|