branch: elpa/pdf-tools
commit c69e7656a4678fe25afbd29f3503dd19ee7f9896
Author: Vedang Manerikar <[email protected]>
Commit: Vedang Manerikar <[email protected]>
Add display-line-numbers-mode to the list of incompatible modes
Somehow, this had been missed.
---
lisp/pdf-view.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/pdf-view.el b/lisp/pdf-view.el
index 697fbb779f..f2b8922724 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."