From 74b23c99800cd9e943ef0a87c8cac2ed63db391d Mon Sep 17 00:00:00 2001 From: pavlick Date: Sat, 3 Aug 2024 01:12:32 -0400 Subject: [PATCH] ensure global-linum-mode is defined --- git-gutter.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-gutter.el b/git-gutter.el index 77c4ec0..39e491c 100644 --- a/git-gutter.el +++ b/git-gutter.el @@ -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 ()