Emacs: Show treemacs when creating frame from server.
This commit is contained in:
parent
c25c3bbe77
commit
c7166f939e
|
@ -1,6 +1,6 @@
|
||||||
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
|
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-11-29T08:51:14+0100>
|
;; Time-stamp: <2020-11-29T09:15:41+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; * treemacs
|
;; * treemacs
|
||||||
|
@ -42,7 +42,9 @@
|
||||||
("<mouse-1>" . treemacs-single-click-expand-action)))
|
("<mouse-1>" . treemacs-single-click-expand-action)))
|
||||||
:hook ((treemacs-mode . my/disable-line-numbers)
|
:hook ((treemacs-mode . my/disable-line-numbers)
|
||||||
(treemacs-mode . my/treemacs-set-hl-line)
|
(treemacs-mode . my/treemacs-set-hl-line)
|
||||||
(after-init . my/treemacs-show-maybe)))
|
(after-init . (lambda () (when (display-graphic-p)
|
||||||
|
(my/treemacs-show-maybe))))
|
||||||
|
(server-after-make-frame . my/treemacs-show-maybe)))
|
||||||
|
|
||||||
(use-package treemacs-projectile
|
(use-package treemacs-projectile
|
||||||
:demand t
|
:demand t
|
||||||
|
|
Loading…
Reference in New Issue
Block a user