treemacs: only activate extended git-mode when python3 is installed.

This commit is contained in:
Alexander Miller 2018-01-10 19:09:28 +01:00 committed by syl20bnr
parent 43143a1fa1
commit 76b390c15e
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ Must be a number.")
(defvar treemacs-use-git-mode
(pcase (cons (not (null (executable-find "git")))
(not (null (executable-find "python"))))
(not (null (executable-find "python3"))))
(`(t . t) 'extended)
(`(t . _) 'simple))
"Type of git integration for `treemacs-git-mode'.