Emacs: Expand treemacs node after project-switch.
This commit is contained in:
parent
1ce2ff6120
commit
c04d8e6911
|
@ -1,6 +1,6 @@
|
||||||
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -113,7 +113,8 @@
|
||||||
(defun my/switch-project ()
|
(defun my/switch-project ()
|
||||||
"Add project to treemacs."
|
"Add project to treemacs."
|
||||||
(treemacs-add-and-display-current-project)
|
(treemacs-add-and-display-current-project)
|
||||||
(treemacs-collapse-other-projects))
|
(treemacs-collapse-other-projects)
|
||||||
|
(treemacs-toggle-node))
|
||||||
|
|
||||||
(defun my/projectile-kill-buffers ()
|
(defun my/projectile-kill-buffers ()
|
||||||
"Kill project buffers and remove project from treemacs."
|
"Kill project buffers and remove project from treemacs."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user