treemacs: only activate extended git-mode when python3 is installed.
This commit is contained in:
parent
43143a1fa1
commit
76b390c15e
|
@ -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'.
|
||||
|
|
Loading…
Reference in a new issue