Skip to content

Commit

Permalink
ensure global-linum-mode is defined (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavllick authored Aug 30, 2024
1 parent a41a601 commit 47e4438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-gutter.el
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ start revision."
(delete-file original))))))

;; for linum-user
(when (and (bound-and-true-p global-linum-mode) (not (boundp 'git-gutter-fringe)))
(when (and (and (boundp 'global-linum-mode) global-linum-mode) (not (boundp 'git-gutter-fringe)))
(git-gutter:linum-setup))

(defun git-gutter:all-hunks ()
Expand Down

0 comments on commit 47e4438

Please sign in to comment.