Turn off display-line-numbers-mode if on
Aaron Madlon-Kay authored 5 years ago
Jonas Bernoulli committed 5 years ago
545 | 545 | (when (and (fboundp 'nlinum-mode) |
546 | 546 | (bound-and-true-p global-nlinum-mode)) |
547 | 547 | (nlinum-mode -1)) |
548 | (when (and (fboundp 'display-line-numbers-mode) | |
549 | (bound-and-true-p global-display-line-numbers-mode)) | |
550 | (display-line-numbers-mode -1)) | |
548 | 551 | (add-hook 'kill-buffer-hook 'magit-preserve-section-visibility-cache)) |
549 | 552 | |
550 | 553 | (defvar-local magit-region-overlays nil) |