fix(treemacs): do not overwrite git mode when treemacs-python-executable is set
This commit is contained in:
parent
13fa55da82
commit
c3b228fedd
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ This must be set before `treemacs' has loaded.")
|
||||||
(when +treemacs-git-mode
|
(when +treemacs-git-mode
|
||||||
;; If they aren't supported, fall back to simpler methods
|
;; If they aren't supported, fall back to simpler methods
|
||||||
(when (and (memq +treemacs-git-mode '(deferred extended))
|
(when (and (memq +treemacs-git-mode '(deferred extended))
|
||||||
|
(not treemacs-python-executable)
|
||||||
(not (executable-find "python3")))
|
(not (executable-find "python3")))
|
||||||
(setq +treemacs-git-mode 'simple))
|
(setq +treemacs-git-mode 'simple))
|
||||||
(treemacs-git-mode +treemacs-git-mode)
|
(treemacs-git-mode +treemacs-git-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue