disable dired-git-info hook in remote directories
This commit is contained in:
parent
49fce0b1c3
commit
b7046de2ca
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@
|
|||
|
||||
;;;###autoload
|
||||
(defun +dired-enable-git-info-h ()
|
||||
(if (locate-dominating-file "." ".git")
|
||||
(if (and
|
||||
(not (file-remote-p default-directory))
|
||||
(locate-dominating-file "." ".git"))
|
||||
(dired-git-info-mode 1)))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue