Emacs: Make it work better when starting in daemon mode.

Still get an error, probably doom-themes.
This commit is contained in:
tastytea 2020-11-26 12:47:47 +01:00
parent d417d9e793
commit eaeeb62e9f
2 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-11-21T23:27:45+0100>
;; Time-stamp: <2020-11-26T12:47:14+0100>
;;; Commentary:
;; * Setup scratch buffer.
@ -115,14 +115,13 @@
;; Visual feedback on some operations by highlighting region.
(use-package volatile-highlights
:demand t
:diminish volatile-highlights-mode
:after (doom-themes display-line-numbers)
:config (progn
(set-face-background 'vhl/default-face
(hexrgb-increment-equal-rgb
(face-background 'default) 2 8))
(volatile-highlights-mode)))
(face-background 'default) 2 8)))
:hook (window-setup . volatile-highlights-mode))
(provide 'basics/buffers)
;;; buffers.el ends here

View File

@ -1,6 +1,6 @@
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-11-14T22:10:17+0100>
;; Time-stamp: <2020-11-26T12:44:15+0100>
;;; Commentary:
;; * treemacs
@ -13,7 +13,6 @@
(require 'basics/package-management)
(use-package treemacs
:demand t
:after (display-line-numbers)
;; ;; Start with a clean workspace list.
;; :init (delete-file (expand-file-name ".cache/treemacs-persist"