diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-15 02:11:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-15 02:11:33 +0100 |
commit | 0fdd4074ff3dc0c507a9867380a4f91250a0b610 (patch) | |
tree | 83d3b64438d2f29b375d895f12b82d5c484db219 /app-emacs/ebuild-mode/files | |
parent | 8fbd420dce8836e6503b162092e07b6a77a89f1d (diff) |
gentoo resync : 15.10.2017
Diffstat (limited to 'app-emacs/ebuild-mode/files')
-rw-r--r-- | app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.39.el | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.39.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.39.el new file mode 100644 index 000000000000..8683a654d3f4 --- /dev/null +++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.39.el @@ -0,0 +1,16 @@ +(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) +(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 + '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'" + . gentoo-newsitem-mode)) +(add-to-list 'auto-mode-alist '("/glep.*\\.rst\\'" . glep-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) |