summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVedang Manerikar <ved.manerikar@gmail.com>2023-06-11 08:09:26 +0530
committerVedang Manerikar <ved.manerikar@gmail.com>2023-06-11 08:09:26 +0530
commitc69e7656a4678fe25afbd29f3503dd19ee7f9896 (patch)
tree3b27b8a88a1f89f2006aa2813631c9e86f5e965f
parentd1d331a57e03fa141cb2ebb1bb80f96ab70d0721 (diff)
Add display-line-numbers-mode to the list of incompatible modes
Somehow, this had been missed.
-rw-r--r--lisp/pdf-view.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/pdf-view.el b/lisp/pdf-view.el
index 697fbb7..f2b8922 100644
--- a/lisp/pdf-view.el
+++ b/lisp/pdf-view.el
@@ -195,7 +195,8 @@ loaded."
(defcustom pdf-view-incompatible-modes
'(linum-mode linum-relative-mode helm-linum-relative-mode
- nlinum-mode nlinum-hl-mode nlinum-relative-mode yalinum-mode)
+ nlinum-mode nlinum-hl-mode nlinum-relative-mode yalinum-mode
+ display-line-numbers-mode)
"A list of modes incompatible with `pdf-view-mode'.
Issue a warning, if one of them is active in a PDF buffer."