Commit f3b99797 authored by Jonas Bernoulli's avatar Jonas Bernoulli

git-commit-file-not-found: Cosmetics

parent 39f22c97
......@@ -435,8 +435,9 @@ This is only used if Magit is available."
;; try to handle this in window-nt Emacs.
(and (or (string-match-p git-commit-filename-regexp buffer-file-name)
(if (boundp 'git-rebase-filename-regexp)
(string-match-p git-rebase-filename-regexp buffer-file-name)))
(and (boundp 'git-rebase-filename-regexp)
(string-match-p git-rebase-filename-regexp
(not (file-accessible-directory-p
(file-name-directory buffer-file-name)))
(if (require 'magit-git nil t)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment