Emacs: Install ebuild-mode if not on Gentoo.

This commit is contained in:
tastytea 2020-05-20 07:54:04 +02:00
parent 564cc3b229
commit 4ddde5cb17
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-05-18T18:20:18+0200>
;; Time-stamp: <2020-05-20T05:53:50+0000>
;;; Commentary:
@ -153,7 +153,12 @@
:mode ("Dockerfile$" . dockerfile-mode))
(use-package ebuild-mode
:straight nil ; Installed by Gentoo.
:straight nil ; Only install if not on Gentoo.
:init (unless (string-match-p "gentoo" operating-system-release)
(straight-use-package
'(ebuild-mode
:type git :host nil
:repo "https://anongit.gentoo.org/git/proj/ebuild-mode.git")))
:hook (ebuild-mode . (lambda () (set-fill-column 80))))
(provide 'text/misc)