;;; init.el --- bandali's emacs configuration -*- lexical-binding: t -*-
-;; Copyright (C) 2018-2020 Amin Bandali <bandali@gnu.org>
+;; Copyright (C) 2018-2021 Amin Bandali <bandali@gnu.org>
;; 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
'(;; GNU ELPA
(debbugs "0.26")
(delight "1.7")
- (ebdb "0.6.21")
(orgalist "1.13")
(rt-liberation "1.31")
(yasnippet "0.14.0")
(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))))
\f
;;; Useful utilities
(csetq shr-max-width 80)
-;; Email (with Gnus, message, and EBDB)
+;; Email (with Gnus and message)
(require 'bandali-gnus)
-(with-eval-after-load 'sendmail
- (csetq sendmail-program (executable-find "msmtp")
- ;; message-sendmail-extra-arguments '("-v" "-d")
- mail-specify-envelope-from t
- mail-envelope-from 'header))
(require 'bandali-message)
-(require 'bandali-ebdb)
;; IRC (with ERC)
(require 'bandali-erc)