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; -*-
|
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-03-18T14:58:32+0100>
|
;; Time-stamp: <2020-03-27T13:46:19+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -81,15 +81,12 @@
|
||||||
(c-default-style "tastytea")
|
(c-default-style "tastytea")
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Highlighting and indentation for CMake.
|
;; Highlighting, indentation and documentation for CMake.
|
||||||
(use-package cmake-mode
|
|
||||||
;; The CMake ebuild installs and activates the mode.
|
;; The CMake ebuild installs and activates the mode.
|
||||||
:unless (string-match-p "gentoo" operating-system-release)
|
(unless (string-match-p "gentoo" operating-system-release)
|
||||||
|
(use-package cmake-mode
|
||||||
:mode
|
:mode (("CMakeLists\\.txt$" . cmake-mode)
|
||||||
("CMakeLists\\.txt$" . cmake-mode)
|
("\\.cmake$" . cmake-mode))))
|
||||||
("\\.cmake$" . cmake-mode)
|
|
||||||
)
|
|
||||||
|
|
||||||
;; CMake reference.
|
;; CMake reference.
|
||||||
(use-package eldoc-cmake
|
(use-package eldoc-cmake
|
||||||
|
|
Loading…
Reference in New Issue
Block a user