Emacs: Don't delete treemacs-persist before start.

This commit is contained in:
tastytea 2020-11-14 22:08:33 +01:00
parent 1f4144eae0
commit f08a6dda04
1 changed files with 4 additions and 4 deletions

View File

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