Emacs: Don't install cmake-mode if on Gentoo.
This commit is contained in:
parent
6795bd2d77
commit
b781e73961
|
@ -1,6 +1,6 @@
|
|||
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-03-18T14:58:32+0100>
|
||||
;; Time-stamp: <2020-03-27T13:46:19+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -81,15 +81,12 @@
|
|||
(c-default-style "tastytea")
|
||||
)
|
||||
|
||||
;; Highlighting and indentation for CMake.
|
||||
(use-package cmake-mode
|
||||
;; The CMake ebuild installs and activates the mode.
|
||||
:unless (string-match-p "gentoo" operating-system-release)
|
||||
|
||||
:mode
|
||||
("CMakeLists\\.txt$" . cmake-mode)
|
||||
("\\.cmake$" . cmake-mode)
|
||||
)
|
||||
;; Highlighting, indentation and documentation for CMake.
|
||||
;; The CMake ebuild installs and activates the mode.
|
||||
(unless (string-match-p "gentoo" operating-system-release)
|
||||
(use-package cmake-mode
|
||||
:mode (("CMakeLists\\.txt$" . cmake-mode)
|
||||
("\\.cmake$" . cmake-mode))))
|
||||
|
||||
;; CMake reference.
|
||||
(use-package eldoc-cmake
|
||||
|
|
Loading…
Reference in New Issue
Block a user