Emacs: Add workaround for treemacs.

I'm using treemacs vcs-version together with treemacs-magit “stable”.
This commit is contained in:
tastytea 2020-03-10 12:20:10 +01:00
parent 45952cbb95
commit be9a59b1b7
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-03-10T12:08:24+0100>
;; Time-stamp: <2020-03-10T12:20:03+0100>
;;; Commentary:
;; * treemacs
@ -18,6 +18,10 @@
(treemacs-project-follow-cleanup t) ; Collapse projects when leaving.
(treemacs-silent-refresh t) ; No log message on refresh.
;; Remove after > 2.6 is out (treemacs-magit uses the old variable).
:config (define-obsolete-variable-alias
'treemacs--buffer-storage 'treemacs-buffer-storage)
:bind
("<f8>" . treemacs-select-window) ; Focus treemacs.
("C-<f8>" . treemacs) ; Toggle treemacs.