X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/9867e4bbee2bcfe7050b0c9d98cbf72653f658ac..41fb7da0e9da05c0d1cf7bb58c918b69d48adf65:/.emacs.d/init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5594987..0d46aa4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1,6 +1,6 @@ ;;; init.el --- bandali's emacs configuration -*- lexical-binding: t -*- -;; Copyright (C) 2018-2020 Amin Bandali +;; Copyright (C) 2018-2021 Amin Bandali ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -444,15 +444,16 @@ This sets each user option VAR's value to the corresponding VALUE. (convert-standard-filename "info/") source-directory))) ;; faces -(with-eval-after-load 'faces - (let* ((grey "#e7e7e7") - (darker-grey "#d9d9d9") - (box ;; `(:line-width -1 :style released-button) - 'unspecified)) - (set-face-attribute 'mode-line nil - :background grey :box box) - (set-face-attribute 'mode-line-inactive nil - :background darker-grey :box box))) +(when (display-graphic-p) + (with-eval-after-load 'faces + (let* ((grey "#e7e7e7") + (darker-grey "#d9d9d9") + (box ;; `(:line-width -1 :style released-button) + 'unspecified)) + (set-face-attribute 'mode-line nil + :background grey :box box) + (set-face-attribute 'mode-line-inactive nil + :background darker-grey :box box)))) ;;; Useful utilities