Commit 802fba7e authored by Aaron Madlon-Kay's avatar Aaron Madlon-Kay Committed by Jonas Bernoulli

Turn off display-line-numbers-mode if on

parent 1070e97e
......@@ -546,6 +546,9 @@ Magit is documented in info node `(magit)'."
(when (and (fboundp 'nlinum-mode)
(bound-and-true-p global-nlinum-mode))
(nlinum-mode -1))
(when (and (fboundp 'display-line-numbers-mode)
(bound-and-true-p global-display-line-numbers-mode))
(display-line-numbers-mode -1))
(add-hook 'kill-buffer-hook 'magit-preserve-section-visibility-cache))
(defvar-local magit-region-overlays nil)
......
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