Skip to content

Commit

Permalink
fixed git-gutter error during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed Nov 4, 2024
1 parent fe8724e commit 59df45a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site-lisp/git-gutter/git-gutter.el
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,8 @@ start revision."
(defun git-gutter:live-update ()
(git-gutter:awhen (git-gutter:base-file)
(when (and git-gutter:enabled
(git-gutter:should-update-p))
(git-gutter:should-update-p)
(git-gutter:vcs-root git-gutter:vcs-type))
(let ((file (file-name-nondirectory it))
(root (file-truename (git-gutter:vcs-root git-gutter:vcs-type)))
(now (make-temp-file "git-gutter-cur"))
Expand Down

0 comments on commit 59df45a

Please sign in to comment.