Emacs: Start with an empty treemacs workspace list.

This commit is contained in:
tastytea 2020-11-13 14:50:36 +01:00
parent 02a0a184a1
commit 56b7b1f6df
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-08-03T03:13:27+0200>
;; Time-stamp: <2020-11-13T14:41:37+0100>
;;; Commentary:
;; * treemacs
@ -15,6 +15,9 @@
(use-package treemacs
:demand t
:after (display-line-numbers)
;; Start with a clean workspace list.
:init (delete-file (expand-file-name ".cache/treemacs-persist"
user-emacs-directory))
:custom ((treemacs-project-follow-cleanup t) ; Collapse projects when leaving.
(treemacs-silent-refresh t)) ; No log message on refresh.
:config (progn