Emacs: Install ebuild-mode if not on Gentoo.
This commit is contained in:
parent
564cc3b229
commit
4ddde5cb17
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue