Emacs: Expand treemacs node after project-switch.

This commit is contained in:
tastytea 2019-11-09 19:30:10 +01:00
parent 1ce2ff6120
commit c04d8e6911
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2019-11-09T17:48:35+00:00>
;; Time-stamp: <2019-11-09T18:03:31+00:00>
;;; Commentary:
@ -113,7 +113,8 @@
(defun my/switch-project ()
"Add project to treemacs."
(treemacs-add-and-display-current-project)
(treemacs-collapse-other-projects))
(treemacs-collapse-other-projects)
(treemacs-toggle-node))
(defun my/projectile-kill-buffers ()
"Kill project buffers and remove project from treemacs."